example-object-tracker
example-object-tracker copied to clipboard
Video is different shades of red
Description
The video is streaming only using shades of red. How do I correct this? In my other apps is streams in full color. I am using a Raspberry PI 4
Click to expand!
Issue Type
Bug
Operating System
Linux
Coral Device
USB Accelerator
Other Devices
No response
Programming Language
Python 3.9
Relevant Log Output
No response
I just tried another camera and it was red also
Same problem here @hjonnala
In the gstreamer.py script change line 252 from:
scale_caps = 'video/x-raw,width={width},height={height}'.format(width=scale[0], height=scale[1]) to: scale_caps = 'video/x-raw, format=RGB, width={width},height={height}'.format(width=scale[0], height=scale[1])
This solves the reddish colour issue.