Skip to content

Latest commit

 

History

History
73 lines (42 loc) · 1.2 KB

readme.md

File metadata and controls

73 lines (42 loc) · 1.2 KB

Learn OPENCV in 3 HOURS

https://www.youtube.com/watch?v=WQeoO7MI0Bs&list=PL4ve0MDPJ_Ht8atBpL7BYqIwOgJjnWbvH&index=41&t=52s

https://www.murtazahassan.com/courses/learn-opencv-in-3-hours/lesson/complete-course/

Chapter 1 - Read Images Video Webcam

0 = Black 255 = White

254 shades of grey

RGB = Red, Green, Blue

Installation

Python 3.7

https://pypi.org/project/opencv-python/

pip install opencv-contrib-python

Video properties

https://docs.opencv.org/3.4/d4/d15/group__videoio__flags__base.html#gaeb8dd9c89c10a5c63c139bf7c4f5704d

OpenCV convention

              640
(0,0) ------------------>
      |
      | (150, 240)
480   |
      |
      |
      \/-----------------(640,480)

RGB (Red, Green, Blue)

Steel grey

https://www.htmlcsscolor.com/hex/43464B

Main

  1. (0, 0, 0) = Black
  2. (255, 255, 255) = White
  3. (255, 0, 0) = Blue
  4. (0, 255, 0) = Green
  5. (0, 0, 255) = Red

Combinations

  1. (255, 255, 0) = Blue + Green = Cyan
  2. (255, 0, 255) = Blue + Red = Magenta
  3. (0, 255, 255) = Green + Red = Yellow

Stopped at Contour/Shape detection 01:15:40 chapter 8

https://www.murtazahassan.com/courses/learn-opencv-in-3-hours/lesson/chapter-6-joining-images/