This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

feat: function for requesting camera data

+2 -2
+2 -2
posedetection/src/iosMain/kotlin/com/performancecoachlab/posedetection/camera/CameraEngine.kt
··· 554 554 height = bo.second.toFloat(), 555 555 rotation = when (currentVideoOrientation()) { 556 556 AVCaptureVideoOrientationPortrait -> SensorRotation.ROTATION_90 557 - AVCaptureVideoOrientationLandscapeRight -> SensorRotation.ROTATION_180 557 + AVCaptureVideoOrientationLandscapeRight -> SensorRotation.ROTATION_0 558 558 AVCaptureVideoOrientationPortraitUpsideDown -> SensorRotation.ROTATION_270 559 - AVCaptureVideoOrientationLandscapeLeft -> SensorRotation.ROTATION_0 559 + AVCaptureVideoOrientationLandscapeLeft -> SensorRotation.ROTATION_180 560 560 else -> SensorRotation.ROTATION_0 561 561 } 562 562 )