Based on the PLc signal obtained camera
On the camera image processing
After processing the results according to the results to send signals to the Plc
Close the camera and then begin to receive the next call
Because of using multithreading
Upon receiving the Plc signal changes to close the camera
Put the child thread to shut down