added a WIN32 get_files_from_dir; turn off Photomakder if receiving no input images

This commit is contained in:
bssrdf committed 2024-02-28 16:29:32 -05:00
1 parent 70c3397b60
commit 16c9da0cca
3 files changed
+83 -39

No files matched your search

+3 -3
View File
@@ -706,9 +706,9 @@ int main(int argc, const char* argv[]) {
}
sd_image_t* input_image = NULL;
input_image = new sd_image_t{(uint32_t)width,
(uint32_t)height,
3,
input_image_buffer};
(uint32_t)height,
3,
input_image_buffer};
input_image = preprocess_id_image(input_image);
if(input_image == NULL){
LOG_ERROR("preprocess input id image from '%s' failed", img_file.c_str());