Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
GPUImageフレームワークを使用してカメラから写真を撮ろうとしています。標準の実装を使用します。しかし、私の出力画像の解像度が低すぎます-{640、852}。より高い解像度を得る方法はありますか?
私はしばらく前に同じ問題を抱えていました。それがAVCaptureSessionセットアップの方法でした。
AVCaptureSession
次の方法でカメラを初期化してみてください。
GPUImageStillCamera *videoCamera = [[GPUImageStillCamera alloc] initWithSessionPreset:AVCaptureSessionPresetPhoto cameraPosition:AVCaptureDevicePositionBack];