Python optical data collector