1 | initial version |
At least start by following the official tutorial, which can be seen here and which already discusses everything in quite the detail. I can also recommend chapter 5 of OpenCV3Blueprints, which goes over the process in much detail step by step.