🏃🏻♀️3. Drawing, Mouse and Control
Contents
3-1 : Line, Circle, Rectangle
- Draw Line, Circle, Rectangle
- 라인, 원, 사각형 그리기
OpenCV Lecture - 3. Drawing, mouse and control (1/6) : Line, Circle, Rectangle
💡 line, Point, circle, rectangle, ellipse, RotateRect, polylines, fillConvexPoly
3-2 : Ellipse
- Draw Ellipse, rotateRect
- 타원 그리기, rotateRect 이용하여 그리는 방법
OpenCV Lecture - 3. Drawing, mouse and control (2/6) : Ellipse
3-3 : PolyLine, fillconvexPoly
- Draw PolyLine
- PolyLine 그리기
OpenCV Lecture - 3. Drawing, mouse and control (3/6) : PolyLine, fillconvexPoly
3-4 : putText, drawContours, findContours
- PutText, Draw outline using drawContours
- Text 출력(그리기)하기
- drawContours으로 외곽선 그리기
OpenCV Lecture - 3. Drawing, mouse and control (4/6) : putText, drawContours, findContours
💡 drawContours, findContours, Point, RotateRect, putText

3-5 : Mouse Event
- Mouse event, assignment 3-1
- 마우스 이벤트 실습, 과제 3-1번 !!
OpenCV Lecture - 3. Drawing, mouse and control (5/6) : Mouse Event
💡 CV_EVENT_LBUTTONDOWN, CV_EVENT_LBUTTONU, EVENT_RBUTTONDOWN, EVENT_MOUSEMOVE, setMouseCallback

3-6 : Trackbar control
- Trackbar practice
- 트랙바 컨트롤 실습
OpenCV Lecture - 3. Drawing, mouse and control (6/6) : Trackbar control
💡 createTrackbar, cvtColor, GaussianBlur, Canny
Trackbar Testing video
Reference
- Ellipse parameter (파리미터 설명) : http://docs.opencv.org/2.4/modules/core/doc/drawing_functions.html#ellipse
- Basic drawing example : http://opencvexamples.blogspot.com/2013/10/basic-drawing-examples.html
Drawing example source code
- line, circle, rectangle, ellipse, polyline, fiilConvexPoly, putText, drawContours(그리기 실습 코드) : http://study.marearts.com/2016/07/opencv-drawing-example-line-circle.html
Mouse event example
- Drag and crop on video : http://study.marearts.com/2015/03/to-save-mouse-drag-region-to-image-file.html
- Drag and image convert on video: http://study.marearts.com/2014/05/opencv-study-setmousecallback-function.html
🙇🏻 Thank you!
🎁 Source code, Material(pdf) and example images 👇
https://www.marearts.com/products/opencv-lecture-materials-1