Metal Scratch
Using Grounding DINO to detect scratch on metal
Usage
Go to /projects/psi_metal_scratch
Run:
python predict.py --opt "<PATH_TO_OPT_FILE>" --img-folder "<PATH_TO_IMAGE_FOLDER>"
PATH_TO_OPT_FILE: is path to opt.jsonPATH_TO_IMAGE_FOLDER: path to image folder
You can modify some value in opt.json to tunning performence of prediction
TEXT_PROMPT: keyword to find objectBOX_TRESHOLD: threshold to detect objectTEXT_TRESHOLD: threshold to get specify object