Newer
Older
CasicIrisIdentify / device / IrisCameraCapEventHandler.h
#ifndef IRISCAMERACAPEVENTHANDLER_H
#define IRISCAMERACAPEVENTHANDLER_H

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

//#include "casic/iris/CasicIrisInterface.h"
#include "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);

};

#endif // IRISCAMERACAPEVENTHANDLER_H