-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
[AE-49] Colour mode mismatch between CameraCaptureRawBytes.ino and CameraRawBytesVisualizer.pde #662
Comments
Replicated issue on Arduino GIGA R1 WiFi with OV7675 cc @karlsoderby |
Possible solution: Use keyPressed() method in Processing to switch the boolean value for Something like:
This does not require the user to change the |
See ArduinoCore-mbed/libraries/GC2145/gc2145.cpp Lines 892 to 926 in 9795c3c
|
Problem
😞 This is what happens when


useGreyScale
is set totrue
for the Nicla Vision:😄 This is what is observed, when
userGreyScale
is set tofalse
for the Nicla VisionThis creates three problems:
Details
The CameraCaptureRawBytes sketch is used to send a video stream over Serial to the computer. Which can then be displayed with the CameraRawBytesVisualizer Processing sketch.
A series of pre-directives, configures the
IMAGE_MODE
to be eitherCAMERA_RGB
(Nicla Vision and GIGA boards) orCAMERA-GREYSCALE
(Portenta H7 family).ArduinoCore-mbed/libraries/Camera/examples/CameraCaptureRawBytes/CameraCaptureRawBytes.ino
Lines 3 to 19 in 0504d34
In the default configuration, the accompanying CameraRawBytesVisualizer sketch is configured to be compatible with
CAMERA_GREYSCLE
, even though the header comment states that the Processing sketch is for RGB.ArduinoCore-mbed/libraries/Camera/extras/CameraRawBytesVisualizer/CameraRawBytesVisualizer.pde
Lines 1 to 7 in 0504d34
ArduinoCore-mbed/libraries/Camera/extras/CameraRawBytesVisualizer/CameraRawBytesVisualizer.pde
Lines 19 to 20 in 0504d34
Thanks @marqdevx , @Hannes7eicher and @jacobhylen for letting me pick your brains 🧠
The text was updated successfully, but these errors were encountered: