Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void PeopleIdentificationMainWindow::setVideoFilePath(const QString& videoFilePath)
- {
- this->m_videoFilePath = videoFilePath;
- if (!this->m_videoFilePath.isEmpty()) {
- const std::string videoFilePathStr = this->m_videoFilePath.toLocal8Bit().constData();
- this->m_app = new application(videoFilePathStr);
- } else {
- this->m_app = new application();
- }
- this->m_videoWidth = this->m_app->getVideoWidth();
- this->m_videoHeight = this->m_app->getVideoHeight();
- emit this->videoFilePathChanged();
- this->setCameraInput(videoFilePath.isEmpty());
- }
Add Comment
Please, Sign In to add comment