Look into OctoPrint using a raspberry pi and camera, probably the best solution available!