What if we could convert any ordinary display into a touch screen using a Webcam or useless smartphone camera. Our idea is to convert projector screen of university to an Interactive touch display. This will help faculties to teach students in a whole new way. They will be able to draw figures on the projected screen over whiteboard. so that students can understand easily what faculty actually want to say. Teachers who are trying to engage their students of any age with chalk-and-talk are not going to further their education. Students who grew up connected to the Internet with knowledge and entertainment at their fingertips will simply disconnect from a dry lecture. Classroom Interactive boards are the answer to help teachers make lessons relatable to their students and to help students stay connected to what they need for their future.Touch screen interactive whiteboard are a more efficient way to display, brainstorm and teach than traditional blackboards.
- OpenCV
- Mouse
- Install python . [may follow any youtube]
- Install "IP Cam" https://play.google.com/store/apps/details?id=com.pas.webcam&hl=en in your smart phone.
- Tap start server on your smartphone.
- The app will provide you a IP link. Copy this link
- Open Main.py script and Find for "url = "http://192.168.0.3:8080/shot.jpg" " & just replace the link only . for example your link is xxx.xxx.x.x then the link will be http://xxx.xxx.x.x:8080/shot.jpg
- save the script.
- Run "Main.py" script and allow "connection" prompt.
- Then keep you mobile in such a position so that its camera can cover your monitor or display.
- Use a red led to move/touch/click/control your computer/laptop screen.
- [[Note: if you want to run this script in background you can make it formless ".exe" by converting this Python script [.py file] into an Executable file [.exe file.] ]]
- Smartphone camera takes video stream of your display and sends the data to your computer though ip cam with wifi connection.
- then python script crops the video image into display part.
- then it converts into gray image and apply GaussianBlur so that it can easily distinguis different colors

- when any red light source with a range of color code is detected, it tries to detect the position of the source relative to display position
- saves X and Y position in txt file name x.txt & y.txt
- we uses "mouse" module to set mosue position accoriding to x.txt y.txt . click accordingly
