Closed moonsummer closed 6 years ago
since this is using cv::CommandLineParser, you have to call your program like:
./tracker --ci=0 -d=1 --db=57600 --dv=/dev/ttyS0
(you're missing the =
between argument name and value, also the DICT is an enum)
Thank you very much.Now the project run successfuly. @berak
System information (version)
Operating System / Platform => ubuntu 16.04
Detailed description I use apriltags for UAV(PX4) position. This priject ompile successfully ,when I executive program appear this problem:
==================
./tracker Basic marker detection for drone localization Usage: tracker [params]
./tracker -v /dev/video0 -d DICT_4X4_100=1 --db 57600 --dv /dev/ttyS0
OpenCV Error: Bad argument (can not convert: [true] to [int]) in from_str, file /home/farsight/opencv/opencv-3.2.0/modules/core/src/command_line_parser.cpp, line 98
ERRORS: Parameter 'd': can not convert: [true] to [int]
======================== The programe url https://github.com/skrogh/droneTracker