The error could be caused by your Image being too dark, try adjusting exposure time to resolve this issue 


Note: Make sure you are using a proper Micrometer Slide to calibrate the software.