From db3bef62fb651c804bb0a310e0243e90895e64f7 Mon Sep 17 00:00:00 2001 From: am0ebe <am0ebe@gmx.de> Date: Tue, 9 Aug 2022 23:41:35 +0200 Subject: [PATCH] Tie opencv, Qt and Vimba together in a C++ APP. improve buildsystem from subl. Add logging. --- b | 2 +- dox/notes_C | 5 +++++ dox/scrap | 11 +++++++++++ dox/todo_tron | 7 +++++-- 4 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 dox/scrap diff --git a/b b/b index e464993..44f1b32 160000 --- a/b +++ b/b @@ -1 +1 @@ -Subproject commit e46499390986da1f889f78c0110e385003791dc6 +Subproject commit 44f1b32f01c0112b25a655b50dffe5b91226794d diff --git a/dox/notes_C b/dox/notes_C index 84ada14..773a16a 100644 --- a/dox/notes_C +++ b/dox/notes_C @@ -230,3 +230,8 @@ apt install libarchive-dev python3-pybind11 #else frame = new IplImage(img_input); #endif + + +############################### +Q: can i use OPENCV for BGS? + hint: -lopencv_bgsegm ??? can i use it for SW_C ? diff --git a/dox/scrap b/dox/scrap new file mode 100644 index 0000000..99c7f1f --- /dev/null +++ b/dox/scrap @@ -0,0 +1,11 @@ +SCRAP +###### +void AsynchronousOpenCVRecorder::Log( std::string strMsg, VmbErrorType eErr ) +{ + strMsg += "..." + m_ApiController.ErrorCodeToMessage( eErr ); + ui.m_ListLog->insertItem( 0, QString::fromStdString( strMsg ) ); +} + +QObject::connectSlotsByName() ?? :) + + diff --git a/dox/todo_tron b/dox/todo_tron index f9bfeb4..8078abe 100644 --- a/dox/todo_tron +++ b/dox/todo_tron @@ -19,11 +19,14 @@ B) recorder ============================ > print Info: Versions (VimbaApi, OpenCV, Qt) more: cams + > wait and detect cams + > produce frames & timestamps + > build GUI + --> Q: might a console app be feasable?? +============================ > central config > threads for started recordings [PID] > storage folder - > wait and detect cams - > produce frames & timestamps > export settings with viewer > load settings with sw -- GitLab