When use the openmv-cascade.py at python2.7 .some error shows as follow:
[code]usage: openmv-cascade.py [-h] [-i] [-n NAME] [-s STAGES] [-c] file
openmv-cascade.py: error: too few arguments
Traceback (most recent call last):
File "C:\Documents and Settings\fff\My Documents\Downloads\openmv-master (1)\usr\openmv-cascade.py", line 257, in <module>
main()
File "C:\Documents and Settings\fff\My Documents\Downloads\openmv-master (1)\usr\openmv-cascade.py", line 241, in main
args = parser.parse_args()
File "D:\Python27\lib\argparse.py", line 1656, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "D:\Python27\lib\argparse.py", line 1688, in parse_known_args
return self._parse_known_args(args, namespace)
File "D:\Python27\lib\argparse.py", line 1901, in _parse_known_args
self.error(_('too few arguments'))
File "D:\Python27\lib\argparse.py", line 2311, in error
self.exit(2, _('%s: error: %s\n') % (self.prog, message))
File "D:\Python27\lib\argparse.py", line 2299, in exit
_sys.exit(status)
SystemExit: 2
>>> openmv-cascade.py stop_sign.xml
SyntaxError: invalid syntax
[/code][/color][/b]
please how to use the openmv-cascade.py to convert the opencv xml file to be use in openmv platform.Thanks!Attach the xml file ,thank you very much!
trafffic xml.rar (20.3 KB)