#include <iostream>
#include <string>
#include <filesystem>
#include <boost/program_options.hpp>
#include <opencv2/core/core.hpp>
#include <VisionX/libraries/imrec.h>
Go to the source code of this file.
|
void | convert (const std::filesystem::path &in, const std::filesystem::path &out, bool print_progress) |
| Performs the actual conversion. More...
|
|
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. More...
|
|
int | main (int argc, char *argv[]) |
|
◆ convert()
void convert |
( |
const std::filesystem::path & |
in, |
|
|
const std::filesystem::path & |
out, |
|
|
bool |
print_progress |
|
) |
| |
Performs the actual conversion.
- Parameters
-
in | Path to the input file |
out | Path to the output file |
Definition at line 154 of file main.cpp.
◆ init_args()
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.
- Parameters
-
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 |
Definition at line 119 of file main.cpp.
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |