- get OpenCV libs installed on your target (e.g. using the eglibc Intel(R) IoT devkit SD card image from https://software.intel.com/en-us/iot/downloads)
- program for it
- enjoy OpenCV
OpenCV on Galileo isn't really different to anywhere else. So feel free to grab any OpenCV tutorial from the web once you do have the libs on your target.