I need a C/C++ program and any open source library components, that can read a video file ( 29.97 fps, total 30 seconds long) and split into movie clips of about 0.5 second each.
These clips should be analyzed for movement patterns and classified into 5-6 types based on pattern. One bucket can be Unclassified if the pattern is very unique.
Movement can be traced from paint marks on the back of a rat in a maze like in this photo:
Three or four paint marks on the body will be used as reference to trace the motion, one mark on the head, one on the tail etc. Sample video will be provided.
I will need source code with full project, a console/windows app and a DLL.
The results can be written to a flat file.