Refactor to use clip counts to control finish of learn
Use the OpenCV version of cmake files for less maintainence
First cut at a stand-alone verifyer