Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.
5762 Discussions

Labels for vehicle-detection-adas-0002 pre-trained models

DarkHorse
Employee
343 Views

Hi,

I am trying to run this inference for this sample code:

object_detection_demo_ssd_async.exe -m vehicle-detection-adas-0002.xml -i cars_1900.mp4

I am having difficulties to find the right labels file for this model.

Anyone can point me to the right link to download all the pre-trained models for object detection / classification?


Thanks.

0 Kudos
1 Solution
Iffa_Intel
Moderator
296 Views

Glad that helps!.

Thanks for sharing your findings.


If you have no further inquiries, I shall close this thread.



Sincerely,

Iffa


View solution in original post

4 Replies
Iffa_Intel
Moderator
323 Views

Hi,


You can run the object detection demo using mobilenetv2 ssd model.

You can download it using the Model Downloader.


Refer here for the full tutorial: https://www.youtube.com/watch?v=cbdS3BjjbaQ



Sincerely,

Iffa


DarkHorse
Employee
313 Views

Hi Iffa,

 

Thanks for the video links, it helps a lot.

I managed to resolve the this labels issue by the following:

- this vehicle-detection-adas-0002 pre-trained models is based on MobileNet v1 frame work.
- So we need to create a <filename>.labels with the following contents. Just to take note, the <filename>.labels must be the same as the IR file name which you are using to run AI inference.

vehicle
person
car
bicycle

- Then we should be able to run the AI inference with the following command: object_detection_demo_ssd_async.exe -m person-vehicle-bike-detection-2002.xml -i car_video3.mp4 -auto_resize -labels vehicle-detection-adas-0002.labels

- Then when we are running AI inference, the images detected will show as vehicle and people like the attached.

Thanks for the help.

 

Iffa_Intel
Moderator
297 Views

Glad that helps!.

Thanks for sharing your findings.


If you have no further inquiries, I shall close this thread.



Sincerely,

Iffa


Iffa_Intel
Moderator
273 Views

Greetings,


Intel will no longer monitor this thread since this issue has been resolved. If you need any additional information from Intel, please submit a new question. 



Sincerely,

Iffa


Reply