From the course: Hands-On AI: Computer Vision Projects with Ultralytics and OpenCV
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Training an object-detection model and inference - OpenCV Tutorial
From the course: Hands-On AI: Computer Vision Projects with Ultralytics and OpenCV
Training an object-detection model and inference
- [Instructor] In this video, we will work through how to train an object detection model using custom data. All the resources used in this video are located in the course code subdirectory 03-02. If you remember from chapter two, we annotated the data and created the data set along with its corresponding YAML file. We will use that same data set here to train our object detection model. First, let's open the data.yml file located inside 03-02 subdirectory. In chapter two, we defined this YML structure, but here we need to configure the correct paths for the train, val, and test directories since we will be using this YML file for model training. In line number one, we need to configure the path for the dataset route directory. Here we need to configure the absolute path. For this, right click on dataset directory and select Copy Path/Reference and then select Absolute Path. Paste here. Because I am using the Windows, I will need to use double backslash. However, in the case of Linux…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Overview of Ultralytics tasks and modes14m 52s
-
(Locked)
Training an object-detection model and inference16m 54s
-
(Locked)
Auto-annotate detection data to segmentation format9m 10s
-
(Locked)
Training and inference for an image-segmentation model11m 31s
-
(Locked)
How to use the pose estimation model7m 48s
-
(Locked)
Validate the model9m 16s
-
(Locked)
How to use other computer vision models11m 20s
-
(Locked)
How to predict and track the detected objects11m 13s
-
(Locked)
How to benchmarks different models9m 28s
-
(Locked)
Export models to different formats8m 35s
-
-
-