Vdp or virtual drawing pad is a opencv implementation which follows two important operations:
- To find the upper and lower ranges of HSV values to detect the object which is to be used as Stylus.
- To find the contours of the object and finally finding out its centroid which will be tracked to draw on the drawing pad.
- Thresholding is performed on HSV and not on RGB because HSV, it separates the image intensity, from the color information.
- Morphological transformation like dilation and closing are performed in order to remove the noise.
- Unnecessary contour can be removed by the selecting the maximum area.
- Guassian Blurring.
- Image Thresholding.
- Morphological operation.
- Contour detection.
- Finding centroid by momemts.
https://drive.google.com/file/d/1ldnm3kyk8V7rsvVDA8_64TjInI9pZ0Ha/view?usp=sharing