-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Adding a Camera to the Screen #2
Conversation
infoplis to Privacy - Camera Usage Description
Implement code using AVFoundation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
카메라...재밌답니다🔥🔥🔥 파이팅!!!
var session: AVCaptureSession? | ||
var previewLayer: AVCaptureVideoPreviewLayer? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
카메라 관련 사항은 추후 외부에서 변경할 예정이 없다면 private를 붙이면 좋을 것 같아요👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
생각하지 못했던 부분이네요. 감사합니다!
고생하셨습니다 코인! :) 코드를 읽으며 궁금한 점을 리뷰로 남겨봤어요. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
코인의 솔도쿠 프로젝트! 발도장 꾸욱 찍고 갑니다!
@LeeSungNo-ian
Outline
Work Contents
Trouble Point
1. Select the camera to film the Sudoku problem
builtInWideAngleCamera
,builtInUltraWideCamera
,builtInTelephotoCamera
,builtInDualCamera
,builtInDualWideCamera
,builtInTripleCamera
builtInDualCamera
,builtInDualWideCamera
,builtInTripleCamera
in, the camera didn't work, andbuiltInWideAngleCamera
,builtInTelephotoCamera
were cameras that were not suitable for Sudoku shooting.builtInUltraWideCamera
because it was suitable for camera shooting.2. Convert image to
bgra
type that is easy to control with pixel bufferkCVPixelFormatType_32BGRA
right away, a type error occurs.kCVPixelBufferPixelFormatTypeKey
toAnyHashable
and downcastAnyHashable
again to solve the type error.📱 Implemented Screen