It would need to be tested with your PCB and our lighting environment.
If the PCB is very complex it is possible that the camera make wrong detection in the background.
Also screw heads are quite small, you would need to take pictures quite close to the PCB to detect a screw head.
Sorry in advance for my naivety. I am curious to see if anyone has utilized the Robotiq Wrist Camera to detect screw hole locations. We currently have 4 different types of boards that have different locations of screw holes. The screws are already installed and the screw driver unscrews them and re-screws the screws to get them to a certain torque. Currently, the screw locations are hard coded in and we would like to change that and implement the use of the camera so that the operation would be more robust. The material is an aluminum metal and the screws do not sit very deep past the surface. Does anyone know if this is possible? Would we need to use the object tracking? Thanks in advance!