Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/madduci/opencv_demo
A collection of examples using OpenCV 2.4 and 3.0 APIs
https://github.com/madduci/opencv_demo
cmake computer-vision cpp opencv
Last synced: 16 days ago
JSON representation
A collection of examples using OpenCV 2.4 and 3.0 APIs
- Host: GitHub
- URL: https://github.com/madduci/opencv_demo
- Owner: madduci
- License: agpl-3.0
- Created: 2015-01-27T08:16:32.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-06-24T03:49:42.000Z (over 4 years ago)
- Last Synced: 2024-10-10T19:35:15.248Z (about 1 month ago)
- Topics: cmake, computer-vision, cpp, opencv
- Language: JavaScript
- Homepage:
- Size: 6.03 MB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenCV Examples - 1.0.0
[ ![Codeship Status for blackibiza/opencv_demo](https://codeship.com/projects/f8ed6680-8f47-0132-366b-2e671bfc968e/status?branch=master)](https://codeship.com/projects/61178)
### Authors / Contributors
**Michele Adduci**, Research Associate @
Humboldt Universität zu Berlin - Computer Vision Dept.Any additional contribution with demos, examples or optimizations is warmly welcome.
----------
### What is this repository for?
This repository contains examples related to Image Processing, as part of Computer Vision lectures of Winter Semester 2014/15,
directed by Prof. Dr. rer. nat. **R. Reulke**----------
### What are the examples contained in this repository?
- **Basic Operations**
- binarization - shows the thresholding functions applied to an image (Binary, Binary Inverted, Truncate, To Zero, To Zero Inverted)
- conversions - shows some color conversions available in OpenCV (Grayscale, HSV, HLS, Lab, YUV)
- dilation - demonstrates the dilation operator
- erosion - demonstrates the erosion operator
- smoothing - shows the smoothing filters applied to an image (Median, Gaussian, Bilateral, Homogeneous)----------
- **Feature Extraction**
- BRISK
- ORB
- SIFT (in OpenCV 2.4.x not available, in OpenCV 3.x the **contrib** module is required)
- SURF (in OpenCV 2.4.x not available, in OpenCV 3.x the **contrib** module is required)----------
- **Image Processing**
- canny_edge - shows the Canny Edge detector
- gradients - shows the available image gradients operations available in OpenCV (Sobel, Laplacian, Scharr)
- histograms - shows the histograms of an image, changing brightness and contrast
- watershed - shows the watershed segmentation algorithm applied to an image----------
- **Object Detection**
- face_detection - shows the Face Detection algorithm using Haar Cascade Feature Histograms
- template_matching - demonstrates the Template Matching using Histograms----------
### What do I need to compile the examples?Tools/Dependencies needed:
* C++11 compiler - **Linux**: g++ (4.8+) / **MS Windows**: Visual Studio (2012+)
* CMake 2.8.11+
* OpenCV:
- 2.4.x branch
- 3.x branch with **contrib** module----------
### How do I compile and run the examples?
#### Linux
##### Compile:
mkdir ~/opencv_examples && cd ~/opencv_examples
cmake -DCMAKE_BUILD_TYPE=Release /path/to/this/downloaded/repository
make -j4 && make install##### Run:
cd ~/opencv_examples/install/bin/
cv_binarization test_data/btor.jpg#### Windows
##### Compile:
Using CMake Gui, set source and build directoriesSet the variable CMAKE_BUILD_TYPE to Release
Open **OpenCV Examples.sln** with MS Visual Studio and then press F7.
Select subproject *INSTALL* -> right click -> *Project Only* -> *Build Only INSTALL*
##### Run:
From command prompt (**Win+R** and then type **cmd.exe**)cd path\to\build\folder
cd install\bin
cv_binarization.exe test_data\btor.jpg