|
|
#include <iostream>#include <string>#include <filesystem>#include <boost/program_options.hpp>#include <opencv2/core/core.hpp>#include <VisionX/libraries/imrec.h>Functions | |
| void | convert (const std::filesystem::path &in, const std::filesystem::path &out, bool print_progress) |
| Performs the actual conversion. | |
| void | init_args (int argc, char *argv[], std::string &description, bool &help, bool &progress, std::filesystem::path &in_path, std::filesystem::path &out_path) |
| Parses argv and writes the results to the out parameters description, help, progress, in_path, out_path. | |
| int | main (int argc, char *argv[]) |
| void convert | ( | const std::filesystem::path & | in, |
| const std::filesystem::path & | out, | ||
| bool | print_progress ) |
Performs the actual conversion.
| in | Path to the input file |
| out | Path to the output file |
| void init_args | ( | int | argc, |
| char * | argv[], | ||
| std::string & | description, | ||
| bool & | help, | ||
| bool & | progress, | ||
| std::filesystem::path & | in_path, | ||
| std::filesystem::path & | out_path ) |
Parses argv and writes the results to the out parameters description, help, progress, in_path, out_path.
| argc | Number of arguments |
| argv | Arguments array |
| description | Description of the program, listing all arguments etc |
| help | True, if help was requested while invoking the program |
| progress | True, if progress reporting was requested while invoking the program |
| in_path | Input path defined when invoking the program |
| out_path | Output path defined when invoking the program |
| int main | ( | int | argc, |
| char * | argv[] ) |