My works quality control department is responsible for taking pictures of our products at various phases through our QC process and currently the process goes:
- Take picture of product
- Crop the picture down to only the product
- Name the cropped picture to whatever the part is and some other relevant data
Depending on the type of product the pictures will be cropped a certain way. So my initial thought would be to use a reference to an object identifier and then once the object is identified it will use a cropping method specific to that product. There will also be QR codes within the pictures being taken for naming via OCR in the future so I can probably identify the parts that way if this proves slow or problematic.
The part I am unsure about is how to get the program to know how to crop based on a part. For example I would like to present the program with a couple before crop and after crop photos of product X then make a specific cropping formula for product X based on those two inputs.
Also if it makes any difference my code is in C#