Changeset 147 in pacpussensors for trunk/CameraViewer
- Timestamp:
- Apr 14, 2017, 5:55:02 PM (8 years ago)
- Location:
- trunk/CameraViewer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CameraViewer/CMakeLists.txt
r141 r147 76 76 ) 77 77 78 target_compile_definitions(${PROJECT_NAME} PUBLIC OPENCV_MAJOR=${OpenCV_VERSION_MAJOR}) 79 78 80 79 81 # ======================================== -
trunk/CameraViewer/CameraViewerComponent.cpp
r141 r147 1 1 2 2 3 // Includes, project. … … 18 19 using namespace pacpus; 19 20 20 // Declare the logger and register the new component.21 //DECLARE_STATIC_LOGGER("pacpus.component.vislabCamera")22 //REGISTER_COMPONENT(CameraViewerComponent, "Camera");23 21 24 22 ComponentFactory<CameraViewerComponent> sFactory("CameraViewerComponent"); … … 62 60 void CameraViewerComponent::DisplayFrame(cv::Mat const& frame) 63 61 { 64 //getchar();65 //std::cout << getName().toStdString() << std::endl;66 62 cv::imshow(getName().toStdString(), frame); 67 //cv::imshow("Image", frame);68 63 } 69 64 -
trunk/CameraViewer/CameraViewerComponent.hpp
r141 r147 13 13 14 14 // Includes, opencv. 15 #include <opencv2/opencv.hpp> 16 #include <opencv2/highgui.hpp> 15 #if (OPENCV_MAJOR == 3) 16 # include <opencv2/opencv.hpp> 17 # include <opencv2/highgui.hpp> 18 #else 19 # include <opencv/cv.h> 20 # include <opencv/highgui.h> 21 #endif 17 22 18 23
Note:
See TracChangeset
for help on using the changeset viewer.