Supported files for training: jpg, jpeg, bmp, png, ppm - and UPPER CASE extensions

This commit is contained in:
AlexeyAB
2018-05-20 18:43:15 +03:00
parent 175c68b9b3
commit 4403e71b33
6 changed files with 25 additions and 79 deletions

View File

@ -40,6 +40,7 @@ void write_all(int fd, char *buffer, size_t bytes);
int read_all_fail(int fd, char *buffer, size_t bytes);
int write_all_fail(int fd, char *buffer, size_t bytes);
void find_replace(char *str, char *orig, char *rep, char *output);
void replace_image_to_label(char *input_path, char *output_path);
void error(const char *s);
void malloc_error();
void file_error(char *s);