Digital Microscope for a Smart Inspection