HumanAnalysis.h
402 Bytes
#include "include.h"
#include "human_parsing.h"
struct BodyColorInfo{
int upper_body_color;
int lower_body_color;
};
class HumanAnalysis
{
public:
HumanAnalysis(/* args */);
~HumanAnalysis();
int init(int devId);
vector<BodyColorInfo> detect(vector<sy_img> vec_img);
private:
int release();
private:
void* m_handle{nullptr};
aclrtContext ctx{nullptr};
};