Skip to content

Basic examples for OpenCV writen in Visual Studio 2019

License

Notifications You must be signed in to change notification settings

SakaSerbia/OpenCV_Basic_Examples_v4

Repository files navigation

About

Here are some basic examples of using library OpenCV v4.5.1 writen in Visual Studio 2019. These examples were done while I was preparing my exam and project from the subject Machine vision on master studies, Department of Electronics, School of Electrical Engineering, University of Belgrade.

Installation & settings

You need the following :

  1. Software: Microsoft Visual Studio 2019
  2. Library: opencv-4.5.1
  3. Environment Variable: OPENCV_DIR
  4. System variables: Path add %OPENCV_DIR%\bin
  5. Debug|x64: OpenCV_v451_dbg.props
  6. Release|x64: OpenCV_v451_rel.props

List of examples

  1. Read image
  2. Read camera
  3. Detect number of dots on dices
  4. Track red circle on images
  5. Affine Transformation
  6. Perspective transform
  7. Affine Transformation with Trackbar
  8. Perspective transform - Book on the table
  9. Perspective transform - Mouse warp
  10. Calibration using 3D calibration object
  11. Calibration of camera with debug
  12. Position estimation with single camera

References

Examples are made using course materials, books and online resources

  1. Machine vision - course materials
  2. Adrian Kaehler and Gary Bradski, Learning OpenCV 3 - Computer Vision in C++ with the OpenCV Library
  3. Davide Pesce, Reading dice with OpenCV – Part 1
  4. Detect red circles in an image using OpenCV
  5. Find the Center of a Blob using OpenCV
  6. OpenCV modules
  7. Camera calibration With OpenCV

About

Basic examples for OpenCV writen in Visual Studio 2019

Topics

Resources

License

Stars

Watchers

Forks

Languages