main.cpp File Reference
#include <iostream>
#include <string>
#include <filesystem>
#include <boost/program_options.hpp>
#include <opencv2/core/core.hpp>
#include <VisionX/libraries/imrec.h>
+ Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

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[])
 

Function Documentation

◆ convert()

void convert ( const std::filesystem::path &  in,
const std::filesystem::path &  out,
bool  print_progress 
)

Performs the actual conversion.

Parameters
inPath to the input file
outPath to the output file

Definition at line 154 of file main.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ 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
argcNumber of arguments
argvArguments array
descriptionDescription of the program, listing all arguments etc
helpTrue, if help was requested while invoking the program
progressTrue, if progress reporting was requested while invoking the program
in_pathInput path defined when invoking the program
out_pathOutput path defined when invoking the program

Definition at line 119 of file main.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 61 of file main.cpp.

+ Here is the call graph for this function: