You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the start_fetching method of the Camera struct, there's an issue where frames from the GstCamera are stored directly into the frame_buffer without converting them from YUYV to RGB. This causes the image data in the buffer to be corrupted.
Impact
Because the frames are not converted to RGB, the data in the frame_buffer ends up corrupted. This means that when you try to display or process these frames, they won't show correctly.
Steps to Reproduce
Initialize the camera
Call Camera::init() to set up the camera.
Start fetching frames
Invoke Camera::start_fetching() to begin capturing frames.
Observe the problem
You'll notice that the frames stored in frame_buffer appear corrupted because they're missing the YUYV to RGB conversion.
The text was updated successfully, but these errors were encountered:
umarsync
added a commit
to umarsync/mechanix-gui
that referenced
this issue
Feb 12, 2025
…#183
Added yuyv422_to_rgb conversion in the start_fetching method to convert frames from YUYV to RGB format before storing them in the frame_buffer mecha-org#183
umarsync
added a commit
to umarsync/mechanix-gui
that referenced
this issue
Feb 12, 2025
apps/camera/src/contexts/camera.rs
In the
start_fetching
method of theCamera
struct, there's an issue where frames from theGstCamera
are stored directly into theframe_buffer
without converting them from YUYV to RGB. This causes the image data in the buffer to be corrupted.Impact
Because the frames are not converted to RGB, the data in the
frame_buffer
ends up corrupted. This means that when you try to display or process these frames, they won't show correctly.Steps to Reproduce
Call
Camera::init()
to set up the camera.Invoke
Camera::start_fetching()
to begin capturing frames.You'll notice that the frames stored in
frame_buffer
appear corrupted because they're missing the YUYV to RGB conversion.The text was updated successfully, but these errors were encountered: