Logo white

Hu Chunming / village_ascend_arm

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • village_ascend_arm
  • src
  • ai_engine_module
  • HumanCarAnalysis.h
  • 初步完成SDK
    81e8a405
    Hu Chunming authored
    2025-01-09 18:30:08 +0800  
    Browse Code »
HumanCarAnalysis.h 401 Bytes
Edit Raw Blame History
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 26
#include "include.h"
#include "human_car_parsing.h"

struct HumanCarResult {
    int type;
    float prob;
};

class HumanCarAnalysis
{
public:
    HumanCarAnalysis(/* args */);
    ~HumanCarAnalysis();
    
    int init(int devId);

    std::vector<HumanCarResult> detect(vector<sy_img> vec_img);

private:
    int release();

private:
    void* m_handle{nullptr};
    aclrtContext ctx{nullptr};
};