You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#ifndef __VIDEO_SOURCE_CHOOSER_WIDGET_HEADER__
#define __VIDEO_SOURCE_CHOOSER_WIDGET_HEADER__
#include "VideoThumbWidget.h"
#include "../dialogs/addSourceDialog.h"
#include "../../data/media/video/videoAVLIBSource.h"
#include "../../data/media/mediaVideoSourceManager.h"
#include "../../alg/video/bdetect/blobDetector.h"
#include "../../alg/video/vmd/motionDetector.h"
//#include "../../alg/video/darknet/darknetDetector.h"
#include "../../alg/video/optical/opticalFlow.h"
#include "../../alg/video/surf/surf.h"
#include "../../alg/video/vlfeat/vlfeat.h"
class VideoSourceChooser: public QWidget { private: /* GUI */ QWidget *m_pParentWidget; QHBoxLayout *m_pHorizontalLayout; guiAddSourceDialog *m_pAddSourceDialog; QPushButton *m_pButtonCmdAdd; QSpacerItem *m_pSideSpacer; basicMediaDestination *m_pMainPreview; videoNode *m_pCurrentVideoNode; basicCamera *m_pCurrentCamera;
/* Data */ mediaVideoSourceManager *m_pSourceManager;
public: explicit VideoSourceChooser( QWidget *parent=NULL ); ~VideoSourceChooser(); void setMainMediaViewer( basicMediaDestination *V); void removeCamera( basicCamera *ptr); public slots: void createNew(SOURCE_INFO *SI); basicCamera *getSelectedCamera(); void selectForMainPreview(void *P);
void showAddSourceDialog(); void showEditSourceDialog(int index);};
#endif
|