fix 4k draw slow prob

This commit is contained in:
jario
2023-12-16 20:24:54 +08:00
parent c74319529c
commit 20814d15d2
2 changed files with 75 additions and 0 deletions
+10
View File
@@ -394,6 +394,16 @@ void drawTargetsInFrame(
bool with_aruco=false,
bool with_yaw=false
);
cv::Mat drawTargetsInFrame(
const cv::Mat img_,
const TargetsInFrame& tgts_,
const double scale,
bool with_all=true,
bool with_category=false,
bool with_tid=false,
bool with_seg=false,
bool with_box=false
);
std::string get_home();
bool is_file_exist(std::string& fn);
void list_dir(std::string dir, std::vector<std::string>& files, std::string suffixs="", bool r=false);