Documentation - FoKE-Developers/FourCutTogether GitHub Wiki

Use Cases

  • ์ด๋ฆ„ / ๋™์ž‘ / output / ๊ตฌํ˜„๋ฐฉํ–ฅ / ๋‹ด๋‹น์ž / ์ผ์ •
  • Usecase: external -> presenter

Home

  • X

Settings

  • GetCameraSourceTypeUseCase / ์•ˆ๋“œ๋กœ์ด๋“œ ํ˜น์€ ์™ธ์žฅ ์นด๋ฉ”๋ผ ์‚ฌ์šฉ ์„ค์ • ๊ฐ’ ๊ฐ€์ ธ์˜ค๊ธฐ / Internal & External / Shared Pref. / ๋„๊ท  /
  • SetCameraSourceTypeUseCase / ์•ˆ๋“œ๋กœ์ด๋“œ ํ˜น์€ ์™ธ์žฅ ์นด๋ฉ”๋ผ ์‚ฌ์šฉ ์„ค์ • / Internal & External / Shared Pref. / ๋„๊ท  /
  • [TBD] GetAndroidCameraLensFacingUseCase / ์•ˆ๋“œ๋กœ์ด๋“œ ์นด๋ฉ”๋ผ ๋ฐฉํ–ฅ ์„ค์ • ๊ฐ€์ ธ์˜ค๊ธฐ / Shared Pref. LENS_FACING_FRONT๋กœ ํ•˜๋“œ์ฝ”๋”ฉ
  • [TBD] SetAndroidCameraTypeUseCase / ์•ˆ๋“œ๋กœ์ด๋“œ ํ˜น์€ ์™ธ์žฅ ์นด๋ฉ”๋ผ ์‚ฌ์šฉ ์„ค์ • ๊ฐ’ ๊ฐ€์ ธ์˜ค๊ธฐ / Shared Pref.
  • GetExternalCameraIPUseCase / ์™ธ์žฅ ์นด๋ฉ”๋ผ IP ๊ฐ€์ ธ์˜ค๊ธฐ / Shared Pref. / ์ค€์ฒ  /
  • SetExternalCameraIPUseCase / ์™ธ์žฅ ์นด๋ฉ”๋ผ IP ์„ค์ • / Shared Pref. / ์ค€์ฒ  /

Select Frame

  • SetPhotoFrameTypeUseCase / ํ”„๋ ˆ์ž„ ์ข…๋ฅ˜ ์„ค์ • / Shared Pref.
  • [TBD] GetPhotoFrameTypeUseCase / ํ”„๋ ˆ์ž„ ์ข…๋ฅ˜ ๊ฐ€์ ธ์˜ค๊ธฐ / Shared Pref.

Select Method

  • X

Camera

  • GetExternalCameraPreviewStreamUseCase / ์™ธ๋ถ€ ์นด๋ฉ”๋ผ ํ”„๋ฆฌ๋ทฐ ์ˆ˜์‹  / MjpegView?

  • GetExternalCameraPhotoUseCase / ์™ธ๋ถ€ ์นด๋ฉ”๋ผ ์‚ฌ์ง„ ์ดฌ์˜ / file_url (String)

  • [TBD] GetCameraPreviewStreamUseCase / ์•ˆ๋“œ๋กœ์ด๋“œ ๊ธฐ๊ธฐ ์นด๋ฉ”๋ผ ํ”„๋ฆฌ๋ทฐ ์ˆ˜์‹  / CameraView?

  • [TBD] GetCameraPhotoUseCase / ์•ˆ๋“œ๋กœ์ด๋“œ ๊ธฐ๊ธฐ ์นด๋ฉ”๋ผ ์‚ฌ์ง„ ์ดฌ์˜ / file_url (String) or mediastore

์ดฌ์˜๋œ ์ด๋ฏธ์ง€ ์„ธํŠธ url์„ navigation์œผ๋กœ ShareScreen์œผ๋กœ ๋„˜๊น€

Share

  • GetPhotoFrameTypeUseCase / ํ”„๋ ˆ์ž„ ์ข…๋ฅ˜ ๊ฐ€์ ธ์˜ค๊ธฐ / Shared Pref.
  • GeneratePhotoFrameUseCase / ๋„ค์ปท ์‚ฌ์ง„ ์ƒ์„ฑ ๋ฐ ๋””์Šคํฌ์— ์ €์žฅ
  • SendPhotoAndGetShareUrlUseCase / ์„œ๋ฒ„๋กœ ๋„ค์ปท ์‚ฌ์ง„์„ ๋ณด๋ƒ„
  • GenerateQRCodeUseCase / QR์ฝ”๋“œ ์ƒ์„ฑ
  • PrintPhotoUseCase / ์‚ฌ์ง„ ์ถœ๋ ฅ

Constants (Policies)

  • COUNT_CAMERA_TAKE: phase2 -> 4์žฅ๋งŒ ์ฐ์Œ
  • CAMERA_TIMER: ํƒ€์ด๋จธ -> 10์ดˆ

Hardware Interface

ํ”„๋ฆฐํ„ฐ

์นด๋ฉ”๋ผ

  • ๋ผ์ฆˆ๋ฒ ๋ฆฌ ํŒŒ์ด, DSLR ์—ฐ๋™
  • ํ˜น์€ ์•ˆ๋“œ๋กœ์ด๋“œ ๋นŒํŠธ์ธ ์‚ฌ์šฉ