Newer
Older
CasicBioRecNew / device / IrisCameraCapEventHandler.h
Tan Yue on 5 Jun 2022 705 bytes 20220605 虹膜注册过程优化
#ifndef IRISCAMERACAPEVENTHANDLER_H
#define IRISCAMERACAPEVENTHANDLER_H

#include <QObject>
#include <QImage>
#include "opencv2/opencv.hpp"
#include "daheng/include/GalaxyIncludes.h"

#include "casic/iris/CasicIrisInterface.h"
#include "casic/ProMemory.h"

#include "utils/UtilInclude.h"

class IrisCameraCapEventHandler : public QObject, public ICaptureEventHandler
{
    Q_OBJECT
public:
    explicit IrisCameraCapEventHandler(QObject *parent = nullptr);

    void DoOnImageCaptured(CImageDataPointer &objImageDataPointer, void *pUserParam);

private:
    unsigned char* pImageBuffer;

signals:
    void sendIrisFrameToDraw(QImage irisImage, int leftOrRight);

};

#endif // IRISCAMERACAPEVENTHANDLER_H