1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| #ifndef __FaceCache_H__
| #define __FaceCache_H__
|
| #include <PipeLine.h>
|
| class FaceCache
| {
| public:
| FaceCache();
| ~FaceCache();
|
| // returns count of face
| int cachePm(const PipeMaterial& pm);
|
| bool getFaceListPb(uint8_t* buffer, size_t& buffSize);
|
| bool getFaceListImage(int* buffIdx, size_t& count, uint8_t* buffImg, size_t& buffImgSize);
|
| private:
| bool extractFace();
|
| void* _ctx;
| };
|
| #endif
|
|