Python code for the laser camera box.