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);
| };
|
|