// // Created by Scheaven on 2020/4/23. // #include "draw_util.h" #include #include #include #include #include #include #include #include #include "log_util.h" #include // C++ using namespace cv; using namespace std; void create_foldert(const char *path) { // if(access(path, 0) == -1) // { // int flag = mkdir(path,0777); // if(flag==0) // { // DEBUG( ":::::::::create folder!::::::"); // }else // { // DEBUG( ":::::::::create folder! error!::::::"); // } // } DEBUG("=2==create_path:"); char DirName[256]; strcpy(DirName,path); int i,len = strlen(DirName); if(DirName[len-1]!='/') strcat(DirName,"/"); len = strlen(DirName); for(i=1;i