This project is developed using numpy,opencv and deque data structure. In Virtual Board we can write anything in air only we have to set HSV (Note:Default HSV set in Blue in Color)
This project if helpful for any virtual teacher projects and teaching projects.
Running process : I create a color_detector window which is used for collecting your real time HSV(i.e Hue Saturation Value) default value is blue color.After creating color_detector window define BGRY value using deque with maximum length is 1024 and create a BGRY color index also,creating kernel for removing impurites in frame,define some color for changing your pen color as shown in figure also,creating a paintwindow using numpy array and then pur some rectangle box inside in the paintWindow,if you see ss then you will get why i created a rectangular box,now readinfg a web cam which means you can write in live frame and the same output will bw generated on paintWindow.Now,performing logics and in last i put that two window in one using stackImages fuction so its shows the output in well manner.
Software Requirement : 1)python
2)numPy
3)OpenCV
4)Colllections (import deque)
Hardware Requirement: WebCam
Download .zip file then extract and run in your machine (Note: check the software Requirement before running a code)
Submitted by AKASH KESARWANI (akashkesarwani)
Download packets of source code on Coders Packet
Comments