ame wrote: frafrichile wrote:
scotty101 wrote:A revolving gate that only allows one pig through at once and a sensor like a microswitch to detect when the gate is opened and closed.
what type of microswitch are you thinking?
Also are you familiar with PIR sensors ??
Any microswitch will do.
PIR sensors are probably no good as they will not discriminate between a single pig and a group of pigs.
You could try OpenCV and see if you could train it to look for pig-shaped objects.
OpenCV looks very promising but also a lot of work.
the gate/hall is usually pretty narrow allowing 1 or 2 to get through at a time.
Wonder how hard is to set up OpenCV or if it can be applied on a livestream feed