user_ch-ml
2025-06-29 4cfc9e04812f1cbd021b15fb24044d296cb021b6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// ImageStorage.h - ÕÕÆ¬´æ´¢Ä£¿é
#pragma once
#include <string>
#include <vector>
#include "FaceImageManager.h"
 
class ImageStorage {
public:
    ImageStorage();
    ~ImageStorage();
 
    bool SaveImage(const std::string& filePath, const unsigned char* imageData,
        int width, int height);
    bool LoadImage(const std::string& filePath, unsigned char*& imageData,
        int& width, int& height) const;
    bool DeleteImage(const std::string& filePath);
};