Skip to content
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: Expose Frame.matrix #2960

Closed
wants to merge 2 commits into from
Closed

feat: Expose Frame.matrix #2960

wants to merge 2 commits into from

Conversation

mrousavy
Copy link
Owner

What

Exposes camera intrinsic frame matrix (kCMSampleBufferAttachmentKey_CameraIntrinsicMatrix) to JS via a 3x3 Matrix.

Changes

Tested on

Related issues

Copy link

vercel bot commented Jun 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-vision-camera ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 2:39pm

@mrousavy
Copy link
Owner Author

Hm, actually this is not what I wanted. I thought this would be a 3x3 matrix representing rotations, scalings and transformations to apply to convert between coordinate systems (e.g. for tap to focus), but apparently that's wrong.

@mrousavy mrousavy closed this Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant