-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
- When I just use
frame.data().data_u32()to try to preview the image retrieved from the camera, The colors are not accurate -- when I started fiddling with the byte order, I came to the conclusion that the buffer data on my M3 mac was being returned in BGRA format. I believe maybe the buffer preparation code is not taking platform endianness into account? - Even when I got the data format correct after fiddling, I noticed that the image is a lot darker than what the camera can perceive (Attaching a screenshot as a sample). Could the
AVFoundationcamera code be losing data, or is this expected?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
