microsoft / AirSim

Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research
https://microsoft.github.io/AirSim/
Other
16.46k stars 4.59k forks source link

How to display the picture acquired by the camera in real time using opencv and Python #2700

Open thejeshk opened 4 years ago

thejeshk commented 4 years ago

Hi AirSim Community,

I am doing Object detection using YOLO to compare how does the NN model predict object detection using synthetic images on real world. https://github.com/microsoft/AirSim/issues/2653#issue-611422474

Now I have my custom trained object detection model and I need to do inference.

I really need help to draw the bounding boxes in an image. What I need is when I my vehicle is driving in the environment, a new window should open (OpenCv) to show the images in real time

Can anyone help me with this?

evroon commented 3 years ago

I'm also working on using AirSim to train a YOLOv4 model. For the bounding boxes, I put a possible solution here.

To show the images in real-time, can't you just use cv2.imshow()?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had activity from the community in the last year. It will be closed if no further activity occurs within 20 days.