top of page
Search
Writer's pictureNandu Sreevalsan

Air Paint Brush using OpenCV, Python



This was a fun project I did for my niece. Basic idea was to use a predetermined colour to be detected from the video feed, put a bounding box around it and middle of that box will be the brush. In order to be more fun, I added 'Erase mode' as well, to erase if you have made any mistakes.


Pink colour for the line was chosen by my niece, media, I tell you. Slightly going off on a tangent here, I really think media plays an important role on the life choices once make, like, what to wear, what is cool etc. I found really fascinating because my niece never goes to boy's toy section, there is an aversion, although she is very good at recognizing various car models and make, she doesn't want to play with car. I blame it on the videos she watches on YouTube, where there is a predominant gender bias on toys selection for kids.


She really loved this program, and it was very intuitive to use for her as well. You need to hide the object if you don't want it to write on the video feed, in the video, you can see me hiding the cursor after writing each letter. My niece learned that trick pretty easily, I didn't teach that to her though. As a programmer I felt proud that it was that intuitive to use or may be she is just smart.


She is just four years old, btw.


20 views0 comments

Recent Posts

See All

Comments


Post: Blog2_Post
bottom of page