feat:引入人脸识别sdk

This commit is contained in:
ctw committed 2025-11-29 01:17:29 +08:00
1 parent ce16eaf82e
commit 158d012eff
331 files changed
+13539

No files matched your search

@@ -0,0 +1,24 @@
//
// Created on 2024/4/3.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".
#ifndef HARMONYFACEVERIFY_IMAGEUTILS_H
#define HARMONYFACEVERIFY_IMAGEUTILS_H
#include "BlobTypes.h"
#include "FaceBlobTypes.h"
namespace dtf {
class ImageUtils {
public:
static std::string Rotate(const Image *in, int angle, Image *out);
static std::string Crop(const Image *in, Rect rect, Image *out);
static std::string Scale(const Image *in, double x, double y, Image *out);
static std::string Packing(const Image *in, double compress_rate, Image *out);
static std::string YUV2RGB(const Image *in, Image *out);
static std::string BGRA2RGB(const Image *in, Image *out);
static void Release(Image *image);
};
}
#endif //HARMONYFACEVERIFY_IMAGEUTILS_H