VehicleAttributeRecognitionBarrier: A machine learning model for detecting vehicle attributes.

elegirl_admin

ailia.AI

ailia.AI Editorial Team

Introducing “VehicleAttributeRecognitionBarrier,” a machine learning model available for use with ailia SDK. By utilizing the ailia SDK and ailia MODELS, an edge-oriented inference framework, it becomes easy to implement AI functionality into applications.

Overview of VehicleAttributeRecognitionBarrier

VehicleAttributeRecognitionBarrier is a machine learning model developed by Intel for identifying vehicle attributes. It can detect the type and color of vehicles.

open_model_zoo/README.md at master · openvinotoolkit/open_model_zoo

This model presents a vehicle attributes classification algorithm for a traffic analysis scenario. Color average…

github.com

Source:https://pixabay.com/ja/videos/%E8%AD%A6%E5%AF%9F%E3%81%AE%E8%BB%8A-%E5%B8%82-%E3%83%88%E3%83%A9%E3%83%95%E3%82%A3%E3%83%83%E3%82%AF-6095/

Architecture of VehicleAttributeRecognitionBarrier:

VehicleAttributeRecognitionBarrier takes input as frontal images of vehicles and outputs their attributes. The detectable attributes include color and type of the vehicle.

Source:https://github.com/openvinotoolkit/open_model_zoo/blob/master/models/intel/vehicle-attributes-recognition-barrier-0042/README.md

The color category consists of seven options, while the vehicle type category consists of four options. The accuracy rates are 82.71% for color and 87.34% for vehicle type.

Source:https://github.com/openvinotoolkit/open_model_zoo/blob/master/models/intel/vehicle-attributes-recognition-barrier-0042/README.md

The model architecture features a ResNet-like structure. The input is an image of size (1,72,72,3), and the output consists of a vector of size (1,7) indicating the probabilities of colors and a vector of size (1,4) indicating the types of vehicles.

Source:https://netron.app/?url=https://storage.googleapis.com/ailia-models/vehicle-attributes-recognition-barrier/vehicle-attributes-recognition-barrier-0042.onnx.prototxt

As a constraint, the model requires front-facing images of vehicles, and the occlusion should be less than 50%.

Source:https://github.com/openvinotoolkit/open_model_zoo/blob/master/models/intel/vehicle-attributes-recognition-barrier-0042/README.md

Usage of VehicleAttributeRecognitionBarrier

To use VehicleAttributeRecognitionBarrier, use the following command: first, detect cars in any video using YOLOv3, then proceed to detect their attributes.

$ python3 vehicle-attributes-recognition-barrier.py -v input.mp4

Here is an example of usage.

https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FYolZAJR_3zQ&display_name=YouTube&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DYolZAJR_3zQ&image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FYolZAJR_3zQ%2Fhqdefault.jpg&key=a19fcc184b9711e1b4764040d3dc5c07&type=text%2Fhtml&schema=youtube

ailia-models/vehicle_recognition/vehicle-attributes-recognition-barrier at master ·…

(Image from…

github.com

Ax Inc. is developing ailia SDK, a cross-platform AI inference framework that utilizes GPUs for high-speed processing. As a company focused on practical AI applications, Ax Inc. offers a comprehensive solution for AI, including consulting, model development, SDK provision, AI-based app/system development, and support. Feel free to reach out to us for any inquiries related to AI.