Qbicz / real-time-shape-detection

CV/AI: use ARM Mali GPU on ODROID-XU4 single-board computer + OpenCL acceleration to achieve real time shape and orientation detection of fast moving objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider using command line parser

palucki opened this issue · comments

To correctly parse parameters and avoid code explosion we can use some command line parser like boost program options.
I would give a try to minmal yet powerful tool called Clara:
https://github.com/catchorg/Clara

What do you think?

I also thought about this. Clara 1.0 looks fine, but what do you think about using argparse? https://github.com/hbristow/argparse

The Python argparse is so widespread they using this looks very natural to me. Using it is less verbose than Clara.

Ha!
Look what I've found.
OpenCV has its own parser:
https://docs.opencv.org/master/d0/d2e/classcv_1_1CommandLineParser.html

Nice! I will be happy to try it.

As for now we have CommandLineParser from OpenCV included in several modules. Closing issue.