It depends on your detection model actually.
If your model is designed as YUYV input, you don’t need to change the format.
But many open source detection use BGR input, if you use them, you will have to change the input and the channel.
Also, many driver provided the format change even through v4l interface.
So the answer is it depends. You can check with your camera vendor for suggestion, also you can discuss it with who provides the detection model.
Thanks for the answer. I have contacted provider. I got to know that they don’t have any software tool for Jetson that convert YUYV format to BGR. I am looking for solution overa week so far no success. I am using Jetson Inference from Dustynv just to let you know.
Thank you for answering. Just to make sure, can you tell me which syntax is needed to be changed where I can put (camera = jetson.utils.gstCamera(3840, 1928, “/dev/video1”)).
Not sure what you mean here…May you detail further ?
Also note that if you’ve upgraded OTA your L4T version, you may have to delete some cache such as: /usr/local/bin/networks/bvlc_googlenet.caffemodel.1.1.GPU.FP16.engine
Not sure, but I also wonder if the problem may rather be on display side. Does your monitor support 4K ?
Probably qv4l2 resizes to a smaller resolution, so it can be displayed.
If not, you’d better try a smaller resolution that fits into your screen.Check available modes from your camera with
v4l2-ctl -d1 --list-formats-ext
If using imagenet-camera without any extra argument (would use CSI onboard cam), does it display ? imagenet-camera.py