16,818
社区成员




private slots:
void openCamera();
void readFrame(); // 读取当前帧信息
void takingPictures();
void closeCamera();
/*信号和槽*/
connect(timer, SIGNAL(timeout()), this, SLOT(readFrame())); // 时间到,读取当前摄像头信息
connect(ui->open, SIGNAL(clicked()), this, SLOT(openCamera()));
connect(ui->pic, SIGNAL(clicked()), this, SLOT(takingPictures()));
connect(ui->closeCam, SIGNAL(clicked()), this, SLOT(closeCamera()));