Sample image recognition code for fpga,to find the center of some you-define-color block.