Skip to content

Commit

Permalink
Merge pull request #1504 from rolalaro/doc_dnn
Browse files Browse the repository at this point in the history
[DOC] Updated DNN detection tutorial
  • Loading branch information
fspindle authored Nov 12, 2024
2 parents c2b6c8a + fe79ec1 commit 654a5ce
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions doc/tutorial/detection_dnn/tutorial-detection-dnn.dox
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class ids and confidence values of a single or of multiple classes.
For other tasks such as image segmentation or more complicated uses, you should use directly the
<a href="https://docs.opencv.org/master/d6/d0f/group__dnn.html">OpenCV DNN API</a>.

This class supports `Faster-RCNN`, `SSD-MobileNet`, `ResNet 10`, `Yolo v3`, `Yolo v4`, `Yolo v5`, `Yolo v7` and
`Yolo v8` convolutional networks that simultaneously predict object boundaries and prediction scores at each position.
This class supports `Faster-RCNN`, `SSD-MobileNet`, `ResNet 10`, `Yolo v3`, `Yolo v4`, `Yolo v5`, `Yolo v7`,
`Yolo v8` and `Yolo v11` convolutional networks that simultaneously predict object boundaries and prediction scores at each position.
If you want to use another type of network, you can define your own parsing method of the DNN detection results and
give it to the `vpDetectorDNNOpenCV` object.

Expand Down Expand Up @@ -74,13 +74,13 @@ $ sudo apt install libgtk-3-dev \
libx11-dev
\endcode

6. Get the sources. The \b vpDetectorDNNOpenCV has been tested with **OpenCV 4.7**. First, get the OpenCV_contrib
sources, that contain the Cuda DNN module.
6. Get the sources. The \b vpDetectorDNNOpenCV has been tested with **OpenCV 4.7** and **OpenCV 4.10**. First,
get the OpenCV_contrib sources, that contain the Cuda DNN module.
On a Debian distribution, you would run:
\code{.sh}
$ cd ${HOME}/visp_ws/3rdparty/
$ git clone --branch 4.7.0 https://github.com/opencv/opencv_contrib
$ git clone --branch 4.7.0 https://github.com/opencv/opencv
$ git clone --branch 4.10.0 https://github.com/opencv/opencv_contrib
$ git clone --branch 4.10.0 https://github.com/opencv/opencv
\endcode

7. Compile OpenCV and install it from source. On a Debian distribution, you would run:
Expand Down Expand Up @@ -149,6 +149,7 @@ on DNN models learned from the following networks:
- Yolo v5
- Yolo v7
- Yolo v8
- Yolo v11

It uses video capture capability from OpenCV to capture images from a camera and detect objects using a DNN model
learned using one of the previous networks.
Expand Down

0 comments on commit 654a5ce

Please sign in to comment.