Settings definition of the OF tracking code

Modified the opticFlowExample tracking application to allow us to define the play area and scale blob coordinates accordingly.

For now coordinates outside the play area are truncated, but tomorrow I'll try to code a better approach with users exiting when outside the play area, and blob events being ignored while outside the play area.

The program is also able to load some settings from a text file. Adding support for more settings is trivial, and I'll do this tomorrow as well as post the full specifications of the file.

Comments