Hand gesture control made for macOS using OpenCV. This is a project to develop my skill. Anyone can use the code.
I am using the Command-line display brightness control made by nriley. He used an brightness api which is available in macos but its undocumented. He did a great work of wrapping it as a pyobj with help of ctypes. I dont know the exact way how to do it but I just used the command line tool with the help of a subprocess.run()
I am just using the apple script and running it through terminal via subprocess.
- A good insight on why this project is different than that on windows or linux
- Terminal commands for brightness control
- Different API for M1 Macs for controlling brightness (that arent even documented)
- Media Pipe
Contributions are always welcome!