NVIDIA-AI-IOT / jetracer

An autonomous AI racecar using NVIDIA Jetson Nano
MIT License
1.06k stars 319 forks source link

object following using ssd-mobilenet-v2 (Jetracer ,Jetcam) #121

Closed yahya200 closed 2 years ago

yahya200 commented 2 years ago

Hi, Im trying to apply object following in jetracer like jetbot using ssd-mobilenet-v2 object detection, when in my code I need to run the camera using jetcam like (camera.running = True) and read the image (image = camera.read()) in while True: loop but I getting this error (RuntimeError('Cannot read directly while camera is running')) how can I fix this problem>\?