mirror of
https://gitee.com/bianbu-linux/ai-support
synced 2025-06-28 17:43:02 -04:00
Update for v1.0alpha1
This commit is contained in:
commit
614ab9dba0
116 changed files with 31855 additions and 0 deletions
16
include/utils/utils.h
Normal file
16
include/utils/utils.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#ifndef SUPPORT_INCLUDE_UTILS_UTILS_H_
|
||||
#define SUPPORT_INCLUDE_UTILS_UTILS_H_
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
|
||||
#include "opencv2/opencv.hpp"
|
||||
|
||||
bool exists_check(const std::string &name);
|
||||
|
||||
void resize_unscale(const cv::Mat &mat, cv::Mat &mat_rs, int target_height,
|
||||
int target_width);
|
||||
|
||||
#endif // SUPPORT_INCLUDE_UTILS_UTILS_H_
|
Loading…
Add table
Add a link
Reference in a new issue