Skip to content

Easy way to communicate with the camera using this OpenCV patch in c++

Notifications You must be signed in to change notification settings

dispreview/opencv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenCV: Open Source Computer Vision Library

Videoio Module

  • This Videoio Module can be supported for both Opencv version 3.3.1 and 3.4.1 with both Linux and Windows OS.

APIs Introduced

  • bool getDevices(int &devices);
  • bool getDeviceInfo(int device, String &deviceName, String &vid, String &pid, String &devicePath);
  • bool getFormats(int &formats);
  • bool getFormatType(int format, String &formatType, int &width, int &height, int &fps);
  • bool setFormatType(int format)
  • bool get(int propId, double &min, double &max, double &steppingDelta, double &supportedMode, double &currentValue, double &currentMode, double &defaultValue);
  • bool set(int propId, double value, double mode);

APIs Explanation

bool getDevices(int &devices);

  • Get total number of camera devices connected to the port.

bool getDeviceInfo(int device, String &deviceName, String &vid, String &pid, String &devicePath);

  • Get specific camera device information such Device name, Device path, VendorID and productID.

bool getFormats(int &formats);

  • Get total number of video formats supported by the camera device.

bool getFormatType(int format, String &formatType, int &width, int &height, int &fps);

  • Get video resolution, video format and fps supported by the camera

bool setFormatType(int format);

  • Set the video format, resolution and fps to the device.

bool get(int propId, double &min, double &max, double &steppingDelta, double &supportedMode, double &currentValue, double &currentMode, double &defaultValue);

  • Get specific UVC Property(Brightness, Contrast,...) minimum value, maximum value, current value, default value, steppingDelta, current mode and supported mode.

bool set(int propId, double value, double mode);

  • Set specific UVC Property(Brightness, Contrast, Hue,...) value and mode.

OpenCVCam Command Line Application

  • OpenCVCam command line application can be used to access the UVC settings, HID settings, Streaming and Image capture of any e-con System cameras in both Windows and Linux.

How to Use

  • OpenCV can be downloaded from here
	$ cd opencv

	$ git checkout <opencv version>

Supported Camera's

* See3CAM_CU20 
* See3CAM_CU30
* See3CAM_CU40
* See3CAMCU50
* See3CAM_CU51
* See3CAM_CU130
* See3CAM_CU135
* See3CAM_10CUG
* See3CAM_11CUG
* See3CAM_12CUNIR
* See3CAM_30
* See3CAM_81
* See3CAM_130 Autofocus
* See3CAM_CU55M
* See3CAM_20CUG

Releases

  • Latest releases can be downloaded from this link

Release

  • OpenCV v1.0.0 - 27-Jul-18
  • OpenCV v1.0.1 - 17-Dec-19
  • OpenCV v1.0.2 - 03-Jun-20

About

Easy way to communicate with the camera using this OpenCV patch in c++

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 89.6%
  • Objective-C++ 9.3%
  • CMake 0.7%
  • Objective-C 0.3%
  • Java 0.1%
  • C 0.0%