made video_dmtx.py description visible in demo.py
This commit is contained in:
parent
f4f41df756
commit
cef18937a2
@ -1,4 +1,4 @@
|
|||||||
help='''
|
'''
|
||||||
Data matrix detector sample.
|
Data matrix detector sample.
|
||||||
Usage:
|
Usage:
|
||||||
video_dmtx {<video device number>|<video file name>}
|
video_dmtx {<video device number>|<video file name>}
|
||||||
@ -52,7 +52,7 @@ def data_matrix_demo(cap):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
print help
|
print __doc__
|
||||||
|
|
||||||
if len(sys.argv) == 1:
|
if len(sys.argv) == 1:
|
||||||
cap = cv2.VideoCapture(0)
|
cap = cv2.VideoCapture(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user