Here I am using two classes for two threads. The following Capture class does the main work.
class Capture(Thread): def __init__(self, path=PATH): Thr