On the last experience i had in a training about Sony cameras of the new series IPela, i have seen some functions that where very interesting.
A1) Ican draw a Line in the image and i can establish a direction sense, so if an object is moving in the opposite verse, an event will happen.
A2) I can count objects crossing this line

B1) Drawing a box i can establish if an object is token out from a place or a new object is losed like the classic example of the bag in the station or a car parking in a place where it can't.

I have seen that all these operation are made with a relative simple calculation of the mass and traiectorie of the motion, so it is an intelligent motion detection and not an object detection.
nice to meet you,
Good Luck[/img]