Set default streaming resolution to 640x480.
1280x720 is too large for CPU based color conversion and encoding,
giving us only ~5 fps with lots of pixelation at the default bit
rate. This low resolution gives ~30 fps in the browser over USB
network interface.
Change-Id: I50087dd36b143de4fe109e50e4b1fd0b981170fd
diff --git a/edgetpuvision/apps.py b/edgetpuvision/apps.py
index aacfcfc..918ed74 100644
--- a/edgetpuvision/apps.py
+++ b/edgetpuvision/apps.py
@@ -16,7 +16,7 @@
parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument('--source',
help='/dev/videoN:FMT:WxH:N/D or .mp4 file or image file',
- default='/dev/video0:YUY2:1280x720:30/1')
+ default='/dev/video0:YUY2:640x480:30/1')
parser.add_argument('--bitrate', type=int, default=1000000,
help='Video streaming bitrate (bit/s)')