Use Object Detection to count the number of each type of object in the frame of a real-time video stream.
Once the alwaysAI tools are installed on your development machine (or edge device if developing directly on it) you can install and run the app with the following CLI commands:
To perform initial configuration of the app:
aai app configure
To prepare the runtime environment and install app dependencies:
aai app install
To start the app:
aai app start
The types of objects detected can be changed by selecting different models. The list of object types that are counted can be changed by modifying OBJECTS
.
To change the computer vision model, the engine and accelerator, and add additional dependencies read this guide.