VehicleRecognition.h 460 Bytes



#pragma once
#include "vehicle_recognition.h"
#include <iostream>
#include "utools.h"
#include <vector>
using namespace std;


class VehicleRecognition
{
public:
    VehicleRecognition(/* args */);
    ~VehicleRecognition();

    int init(char*dbpath, int gpuid, char* auth_license);
    int process(sy_img * batch_img,int batchsize, vehicle_recog_result*&vr_result);
    int release();

private:
    void* handle{nullptr};
};