Skip to content

Latest commit

 

History

History
53 lines (49 loc) · 2.02 KB

README.md

File metadata and controls

53 lines (49 loc) · 2.02 KB

gipOpenCV

OpenCV plugin for GlistEngine.

Requierements

Installation

Fork & clone this project into ~/dev/glist/glistplugins

  • Windows developers should not forget to add
${workspace_loc}\..\..\..\..\glistplugins\gipYourPlugin\libs\bin

directory to the GlistApp project's PATH list. (Project->Properties->C/C++ Build->Environment->PATH)

Usage

  • 2D and 3D feature toolkits
  • Object detection
  • Facial recognition system
  • Human-computer interaction

How To Use

  1. Add gipOpenCV into plugins of your GlistApp/CMakeLists.txt
  2. Include gipOpenCV.h in GameCanvas.h
  3. Right click gipOpenCV project on GlistEngine and select Properties -> C/C++ General -> Preprocessor Include Paths -> GNU C++ -> Providers then enable 2 CMAKE_EXPORT_COMPILE_COMMANDS If it still says "terminated" after execution;
  4. gipOpenCV project -> right click -> Properties -> C/C++ Build -> Environment -> PATH -> (add ;${workspace_loc}........\glistplugins\gipOpenCV\prebuilts\bin)

Functions

  1. makeGray

Makes the imported image binary.

  1. makeCanny

Finds the locations of objects basd on the XML file put in.

  1. objectDetection

Finds the locations of faces from image.

  1. faceDetection

Draws squares on the image entered with locations taken from the location list.

  1. objectsDraw

Finds contours.

  1. contourDetection

Detects the contour values of the uploaded image as integers.

  1. readTextFromImage

Detects the text from uploaded image.

  1. updateImagefromCam

Updates the image that is detected from the cam matrix using its data.

  1. updateImagefromVideo

Updates the image that is detected from the video as matrix using its data.

  1. setCam

Assignes a number to the camera for easy access to videos.

  1. setMatData

Turns the data of the image to a matrix as its components and turns it to a color number.

  1. setVideo

Gets the video file by its path.