Hello!
I’m doing some robotics work with the Jetson Nano and am having trouble with my current Wide Angle Camera.
The Jetbot guide (https://github.com/NVIDIA-AI-IOT/jetbot/wiki/bill-of-materials) recommends using either the Leopard Imaging 145 degree CSI camera or the Waveshare module to replace the Raspberry Pi V2 camera. Since the Leopard Imaging camera was out of stock at the time and the Waveshare module offered a wider view (160 vs 145), I went with the Waveshare module.
I got images from the Waveshare module, but they were all heavily tinted pink. Experimenting with GStreamer settings showed that if I turned white balance off it reduced the pinkness some but there was still a lot of non-uniform color distortion (pinker further from the center). I contacted Waveshare about the problem and they acknowledged that it was a problem with this board but didn’t seem to know how to fix it (email below).
All of the CSI cameras are based off of the IMX219 module, but I believe that I ran across a thread that indicated the current CSI support had been customized for the Raspberry Pi V2 module.
- I just ordered the Leopard Imaging wide angle camera. Am I going to run into similar problems with that?
- Since NVidia released the JetBot and their docs recommends the Waveshare camera, is there a know way to fix the issue?
- If not, would it be possible to get notes on how to calibrate the settings for a camera? I could forward it to Waveshare and see if they can come up with a fix.
Thanks,
Charlie West
Email:
Hello,
Thanks for your feedback.
We found that the camera have pink effect when working with Jetson Nano. And now there isn’t solution for it.
We will test and try to solve it. We are very sorry about this problem. For Jetson nano, maybe you can think about our IMX219-77 Camera if you don’t plan to use the camera with Raspberry Pi.
发件人:Charles West crwest@ncsu.edu
发送日期:2019-05-16 20:03:01
收件人:service service@waveshare.com
主题:Re: Color tint in IMX219-160
Hello,
It was an Nvidia Jetson Nano. They are using GStreamer to provide access.
It can accessed via command line via:
gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12' ! nvvidconv flip-method=0 ! 'video/x-raw,width=960, height=616' ! nvvidconv ! nvegltransform ! nveglglessink -e
Further searching seems to indicate that by modifying GStreamer to (disabling white balance):
gst-launch-1.0 nvarguscamerasrc wbmode=9 ! 'video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12' ! nvvidconv flip-method=0 ! 'video/x-raw,width=960, height=616' ! nvvidconv ! nvegltransform ! nveglglessink -e
can make more of the colors come out somewhere close to correct. However, everything green still comes out pink.
My guess is that the core issue is that they have calibrated for the default RPi camera V2 and it isn't handling different modules correctly. I'm not sure how to correct it. Color seems better with the RPi3, but I haven't tested the
"green is pink" part yet on that platform.
If I may ask, do you have any suggestions what I should do?
Thanks,
Charlie West