motioneyeos icon indicating copy to clipboard operation
motioneyeos copied to clipboard

Trigger picture with sensor

Open 3DFarmer opened this issue 2 years ago • 1 comments
trafficstars

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?

3DFarmer avatar Oct 28 '23 16:10 3DFarmer

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.

starbasessd avatar Oct 28 '23 16:10 starbasessd