A two-stage approach for lambing detection | Synapse