uploaded 2 months ago
OpenCV build for esp-idf

readme

# OpenCV library build for esp-idf

This component used to build and include OpenCV library into the esp-idf as a component for esp32, esp32s2 and esp32s3 CPUs.
Now the opencv could be build with IDF version >= 4.4. 
This component was tested with opencv V 4.7.0.

More details about OpenCV can be found [here](https://opencv.org/).
The project has next folders:

opencv - OpenCV source code directory, added as git submodule
opencv_contrib - additional modules for OpenCV, added as git submodule
opencv_patch - folder with patch files for opencv and opencv_contrib
examples - directory with opencv examples running on Esp32-cam board.

## The examples:

feature2d - extraction of 2d features form the camera image.
motion_detection - example detect the motion on the picture from camera and print the coordinates of the object to the console.
object_tracking - track the object located on center of the camera.
people_detection - the example has to detect people on the image.
text_area_detection - detect area on the image where text expected.

readme of features2d example

                                        
                                        # Feature2d example for IDF OpenCV component

This example shows how to use OpenCV in ESP-IDF projects.

This example requires esp32-eye or esp32-s3-eye development boards. The example use opencv library to extract 
2D features from the image and compute the feature descriptors.
To run the example on target please run:

```
idf.py -p PORT flash monitor
```

                                    

readme of motion_detection example

                                        
                                        # Motion detection example for IDF OpenCV component

This example shows how to use OpenCV in ESP-IDF projects.

This example requires esp32-eye or esp32-s3-eye development boards. The example use opencv library to detect motion 
at camera image.
To run the example on target please run:

```
idf.py -p PORT flash monitor
```

                                    

readme of object_tracking example

                                        
                                        # Object tracking example for IDF OpenCV component

This example shows how to use OpenCV in ESP-IDF projects.

This example requires esp32-eye or esp32-s3-eye development boards. The example use opencv library to track objects on camera image.
To run the example on target please run:

```
idf.py -p PORT flash monitor
```

                                    

readme of people_detection example

                                        
                                        # People detection example for IDF OpenCV component

This example shows how to use OpenCV in ESP-IDF projects.

This example requires esp32-eye or esp32-s3-eye development boards. The example use opencv library to detect people on camera image.
To run the example on target please run:

```
idf.py -p PORT flash monitor
```

                                    

readme of text_area_detection example

                                        
                                        # Text area detection example for IDF OpenCV component

This example shows how to use OpenCV in ESP-IDF projects.

This example requires esp32-eye or esp32-s3-eye development boards. The example use opencv library to detect text areas on camera image.
To run the example on target please run:

```
idf.py -p PORT flash monitor
```


                                    

Links

License: Apache-2.0

To add this component to your project, run:

idf.py add-dependency "espressif/opencv^4.7.0~5"

or download archive

Dependencies

  • ESP-IDF >=4.4
  • Examples:

    features2d

    more details

    To create a project from this example, run:

    idf.py create-project-from-example "espressif/opencv^4.7.0~5:features2d"

    or download archive

    motion_detection

    more details

    To create a project from this example, run:

    idf.py create-project-from-example "espressif/opencv^4.7.0~5:motion_detection"

    or download archive

    object_tracking

    more details

    To create a project from this example, run:

    idf.py create-project-from-example "espressif/opencv^4.7.0~5:object_tracking"

    or download archive

    people_detection

    more details

    To create a project from this example, run:

    idf.py create-project-from-example "espressif/opencv^4.7.0~5:people_detection"

    or download archive

    text_area_detection

    more details

    To create a project from this example, run:

    idf.py create-project-from-example "espressif/opencv^4.7.0~5:text_area_detection"

    or download archive

    Stats

    • Downloaded in total
      Downloaded in total 92 times
    • Downloaded this version
      This version: 30 times

    Badge

    espressif/opencv version: 4.7.0~5
    |