Trigger picture with sensor
3DFarmer opened this issue · 1 comments
3DFarmer commented
Hi, I'm looking to use motioneye to create a dataset for ai training. I want to install a inductive sensor to a pi's GPIO pin and have motioneye take one picture every time the sensor is activated. This sensor will be hooked up to a 3D printer, but the machine is close source so I can't use octoprint or other 3D printer servers. I love motioneye interface and ease of use.
Could this be accomplished?
starbasessd commented
Can it be done? Yes.
You would have to write a script in Python to read the GPIO pin on a regular time frame, and call the capture. There are several scripts people have posted here and in motionEye githubs that do it for buttons.