Screw head detection

Hi testing a screw detection code with OpenCV and anRasberry Pi 4 with the HQ Camera V1. Which Methode to detect the color and the screwhead is the best? Do I should use Video and video detection or is it better to use a photo because of the raspberry Pi?