mirror of
https://gitee.com/mymagicpower/AIAS.git
synced 2024-11-30 03:08:24 +08:00
.. | ||
doc/img | ||
models | ||
src | ||
pom.xml | ||
README_cn.md | ||
README.md | ||
vehicle_sdk.iml | ||
vehicle-sdk.iml |
Download the model and place it in the models folder
Vehicle Detection SDK
Vehicle detection is a very important and challenging task in urban traffic monitoring, and its difficulty lies in accurately locating and classifying relatively small vehicles in complex scenes. Recognize vehicle types such as car, truck, bus, motorbike, and tricycle.
SDK functions
- Vehicle detection, giving detection boxes and confidence
- Supported categories: -car -truck -bus -motorbike -tricycle -carplate
Example-VehicleDetectExample
After running successfully, the command line should see the following information:
[INFO ] - [
class: "car", probability: 0.98734, bounds: [x=0.210, y=0.420, width=0.225, height=0.218]
class: "car", probability: 0.93550, bounds: [x=0.377, y=0.432, width=0.150, height=0.120]
class: "car", probability: 0.88870, bounds: [x=0.167, y=0.411, width=0.127, height=0.178]
class: "car", probability: 0.85094, bounds: [x=0.479, y=0.351, width=0.504, height=0.476]
class: "carplate", probability: 0.83096, bounds: [x=0.321, y=0.502, width=0.046, height=0.019]
]