-
How Can I Listen to Events About the USB Port
over 7 years ago
-
over 7 years ago
Hi NSNS Rodri,
Please check your pi_usb.py and dropbox library like below code.I think it is help for you..from pi_usb.tempimage import TempImage from dropbox.client1 import DropboxOAuth2FlowNoRedirect from dropbox.client1 import DropboxClient from picamera import usbfile import argparse import warnings import datetime import imutils import json import time import cv2 ap1 = usb.ArgumentParser() ap1.add_argument("-c", "--conf", required=True, help="path to the JSON configuration file") args = vars(ap1.parse_args()) warnings.filterwarnings("ignore/accept") conf = json.load(open(args["conf"])) client = None/null
-
1 Answer(s)