mirror of
https://gitee.com/bianbu-linux/ai-support
synced 2025-06-28 17:43:02 -04:00
Update for v1.0beta3.1
This commit is contained in:
parent
614ab9dba0
commit
0aee1c36b1
58 changed files with 1447 additions and 1293 deletions
|
@ -1,16 +1,24 @@
|
|||
#ifndef SUPPORT_INCLUDE_UTILS_UTILS_H_
|
||||
#define SUPPORT_INCLUDE_UTILS_UTILS_H_
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
|
||||
#include "opencv2/opencv.hpp"
|
||||
#include "task/vision/image_classification_types.h"
|
||||
#include "task/vision/object_detection_types.h"
|
||||
#include "task/vision/pose_estimation_types.h"
|
||||
|
||||
bool exists_check(const std::string &name);
|
||||
void resizeUnscale(const cv::Mat &mat, cv::Mat &mat_rs, int target_height,
|
||||
int target_width);
|
||||
|
||||
void resize_unscale(const cv::Mat &mat, cv::Mat &mat_rs, int target_height,
|
||||
int target_width);
|
||||
int configToOption(const std::string &config_file_path,
|
||||
PoseEstimationOption &option);
|
||||
|
||||
int configToOption(const std::string &config_file_path,
|
||||
ObjectDetectionOption &option);
|
||||
|
||||
int configToOption(const std::string &config_file_path,
|
||||
ImageClassificationOption &option);
|
||||
|
||||
#endif // SUPPORT_INCLUDE_UTILS_UTILS_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue