New member on this forum. I have a problem. I’ve written a license plate recognition system program. I’m running the code with Jetson Nano. When I use a local USB webcam, I don’t observe any freezing or lag in the video, and the license plate recognition works. However, when I try to capture video from a 4k MP IP bullet camera from Hikvision, the video opens with the imshow command, but there is a significant lag and delay, almost more than 30 seconds. Additionally, the video freezes a lot during playback. I tried to reduce the resolution using video.capture.set, but it didn’t work well. I need smooth video for plate recognition. Can you help me find a solution? İf you want I can share my code.
Hello, I’ve conducted some tests and tried different methods. When I use a USB Webcam, I don’t experience any stream loss; everything is smooth. However, when I try to capture video from an IP camera, unfortunately, the frames pile up. Initially, there is a 10-second delay, but after a while, it increases to 30 seconds. Because of this, I can’t perform license plate recognition. I’ve tried the Gstreamer solution you mentioned, but when I try to install it with pip on the Jetson Nano, I encounter an error. I’ve tried various methods, but I couldn’t install it. Can you assist me? Do I need to change the camera? If you have any lower-resolution cameras to recommend, I can use those as well.
As @crackwitz said this sounds like the standard problem everyone faces when they switch to rtsp. That is you are not requesting your frames fast enough.
To confirm this try
reducing the resolution inside of the Hickvision web interface, not through video capture and
reducing the frame rate (try 1 fps if possible) again inside the Hickvision web interface.