CCD laser marking machine for visual positioning