In this section, we will be developing a video object classification application using pre-trained YOLO models (that is, transfer learning), DL4J, and OpenCV that can detect labels such as cars, and trees inside the video frame. To be frank, this application is also about extending an image detection problem to video detection. So let's get started.
Developing a real-time object detection project
Step 1 – Loading a pre-trained YOLO model
Since Alpha release 1.0.0, DL4J provides a Tiny YOLO model via ZOO. For this, we need to add a dependency to your Maven friendly pom.xml file:
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-zoo</artifactId>
<version...