Our Product InsightsPlatform Cameras

Interface high-quality cameras with OpenCV Python

OpenCV is an open-source BSD licensed image processing bundle that offers a shared repository of CV applications. Know why the See3CAM series, developed by e-con Systems, and OpenCV form the perfect match for your embedded vision applications.

openCV Python Banner

About OpenCV 

Open Computer Vision (OpenCV) is an open-source BSD licensed image processing bundle. It was developed to offer a shared repository of computer vision applications while increasing machine perception in commercial products.

With over 18 million downloads, it contains functions for all types of image processing functionality from necessary image decoding, enhancement, color space conversion, object detection, object tracking, and so on.

Main features of OpenCV

  • Equipped with C++, Python, Java, and MATLAB interfaces
  • Supports Windows, Linux, Android, and Mac OS
  • Enhances real-time vision applications
  • Written natively in C+, with a templated interface

See3CAM series and OpenCV: The perfect match

Using OpenCV Python, e-con Systems™ has developed the sample command line-based application to interface our See3CAM series USB 3.0 cameras. All See3CAM series of cameras are UVC compatible, and they don’t require additional drivers to be installed.

OpenCV applications, by default, provide standard UVC controls like brightness, contrast, saturation, etc. However, they do not support access controls like auto exposure, autofocus, and auto white balance – commonly known as AAA functions.

To overcome this challenge, e-con Systems™ has developed the OpenCV Python application to support both standard UVC controls and AAA functions. The application also extends the support for seamless streaming and high-quality image capture in both Windows and Linux Operating Systems.

Why See3CAM series?

  • See3CAM is the USB 3.0 camera series from e-con Systems™. These cameras are UVC-compliant that has Plug & Play support which does not require to install additional device drivers manually
  • See3CAM series has a wide range of cameras from 2MP to 16MP with M12 based Fixed focus lens and Autofocus variants
  • See3CAM cameras support Windows, Linux, Android, and Mac OS with sample applications

Let us dive into how to use the See3CAM camera with e-con Systems™’ OpenCV application in Python.

Tested System: 

Host PC: Ubuntu-18.04 and 20.04 (Linux) and Windows 8 and 10
OpenCV Version: 4.5.5
Python Version: 3.8 

Tested e-con Cameras: 

Download the application source code  

The application can support basic features such as: 

  • Enumerating and listing all the connected video devices ss
  • Changing color space/compression, resolution, and frame rate for a video stream 
  • Capturing still images and setting the path to store them
  • Configuring UVC controls supported by the camera

Application user manual and installation guide can be found from the following link:
https://github.com/econsystems/opencv/tree/master/Documents

To build the OpenCV Python sample application from source, refer the “OpenCV Python Installation Manual”

To run the OpenCV Python Prebuild Binary in both Windows and Linux, you may refer to the “OpenCV Python Prebuild Usage Manual”

How to launch the application in Ubuntu: 

  1. Open the terminal window and navigate to the directory “Source/PythonScript” folder path
  2. Run the python script with $ sudo python3 main.py  

The devices connected to the PC will be displayed as below: 

How to launch the application in Windows:  

  1. Open the command prompt window with script path
  2. Run the python script with “Python main.py

The devices connected to the PC will be displayed as shown below. 

The modified OpenCV package also has the option to access See3CAM cameras in OpenCV C++ as well.

For more information, please contact techsupport@e-consystems.com 

Related posts

Leave a Comment