Use Object Detection and RTSP Server to stream Object Detection Inference through RTSP stream. The types of objects detected can be changed by selecting different models.
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
To change the computer vision model, the engine and accelerator, and add additional dependencies read this guide.
To view the RTSP Inference stream with VLC::
vlc -v rtsp://<device IP address>:<port>/video<stream idx>
ex: vlc -v rtsp://122.3.0.1:5000/video0
To stop the application: Click CTRL+C from the command line.