it’s nice, that you want this, but we can only help with YOUR OWN EFFORT, we won’t write your program.
this is also far too broad as a description. do some research, find out, what you really want/need (image matching ? object detection ? classification of something ?)
once you can refine your needs, and have any attempt to show, we can help you with it (but not as it is now, sorry)
it’s about understanding things here, not “getting the code”