File tree Expand file tree Collapse file tree
ImageTransformerComponent Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ project(openmpf-cpp-component-api)
3030
3131set (CMAKE_CXX_STANDARD 17)
3232
33- find_package (OpenCV 4.5.5 EXACT REQUIRED PATHS /opt/opencv-4.5.5
33+ find_package (OpenCV 4.9.0 EXACT REQUIRED PATHS /opt/opencv-4.9.0
3434 COMPONENTS opencv_core opencv_imgcodecs opencv_imgproc opencv_videoio )
3535
3636
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ namespace MPF { namespace COMPONENT {
9393 // frame, it uses cv::VideoCapture::grab to advance cv::VideoCapture's position.
9494 // This means that when you need to advance 16 or fewer frames, it is more efficient to
9595 // just use cv::VideoCapture::grab.
96- // https://github.com/opencv/opencv/blob/4.5 .0/modules/videoio/src/cap_ffmpeg_impl.hpp#L1459
96+ // https://github.com/opencv/opencv/blob/4.9 .0/modules/videoio/src/cap_ffmpeg_impl.hpp#L1959
9797 static constexpr int SET_POS_MIN_FRAMES = 16 ;
9898 };
9999}}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ include(../ComponentSetup.cmake)
3434
3535find_package (mpfComponentInterface REQUIRED )
3636find_package (mpfDetectionComponentApi REQUIRED )
37- find_package (OpenCV 4.5.5 EXACT REQUIRED PATHS /opt/opencv-4.5.5 COMPONENTS opencv_core )
37+ find_package (OpenCV 4.9.0 EXACT REQUIRED PATHS /opt/opencv-4.9.0 COMPONENTS opencv_core )
3838
3939
4040set (AUDIO_ONLY_COMPONENT_SOURCES AudioOnly.cpp AudioOnly.h)
Original file line number Diff line number Diff line change 11# BUILD
22
3- NOTE: To build and run this component, OpenCV 4.5 .0
3+ NOTE: To build and run this component, OpenCV 4.9 .0
44 must be installed first.
55
66NOTE: You must build the MPF Component API library before
77 building this component. See the instructions
88 in the README at the top-level component API
99 directory.
1010
11- Before you build, edit the src/CMakeLists.txt file, and change
12- the "find_package" command so that the PATHS option specifies
13- the root directory of your OpenCV 4.5.0 installation.
11+ The CMakeLists.txt file for this example is written to look for
12+ OpenCV 4.9.0 installed at ` /opt/opencv-4.9.0 ` . If your local
13+ installation is in a different location, edit the CMakeLists.txt
14+ file in this directory to change the ` find_package ` command so
15+ that the PATHS option specifies the root directory of your
16+ OpenCV 4.9.0 installation.
1417
1518Run the following commands:
1619```
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ include(../ComponentSetup.cmake)
3434
3535find_package (mpfComponentInterface REQUIRED )
3636find_package (mpfDetectionComponentApi REQUIRED )
37- find_package (OpenCV 4.5.5 EXACT REQUIRED PATHS /opt/opencv-4.5.5 COMPONENTS opencv_core )
37+ find_package (OpenCV 4.9.0 EXACT REQUIRED PATHS /opt/opencv-4.9.0 COMPONENTS opencv_core )
3838
3939
4040set (GENERIC_COMPONENT_SOURCES GenericComponent.cpp GenericComponent.h)
Original file line number Diff line number Diff line change 11# BUILD
22
3- NOTE: To build and run this component, OpenCV 4.5 .0
3+ NOTE: To build and run this component, OpenCV 4.9 .0
44 must be installed first.
55
66NOTE: You must build the MPF Component API library before
77 building this component. See the instructions
88 in the README at the top-level component API
99 directory.
1010
11- Before you build, edit the src/CMakeLists.txt file, and change
12- the "find_package" command so that the PATHS option specifies
13- the root directory of your OpenCV 4.5.0 installation.
11+ The CMakeLists.txt file for this example is written to look for
12+ OpenCV 4.9.0 installed at ` /opt/opencv-4.9.0 ` . If your local
13+ installation is in a different location, edit the CMakeLists.txt
14+ file in this directory to change the ` find_package ` command so
15+ that the PATHS option specifies the root directory of your
16+ OpenCV 4.9.0 installation.
1417
1518Run the following commands:
1619```
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ include(../ComponentSetup.cmake)
3434
3535find_package (mpfComponentInterface REQUIRED )
3636find_package (mpfDetectionComponentApi REQUIRED )
37- find_package (OpenCV 4.5.5 EXACT REQUIRED PATHS /opt/opencv-4.5.5 COMPONENTS opencv_core )
37+ find_package (OpenCV 4.9.0 EXACT REQUIRED PATHS /opt/opencv-4.9.0 COMPONENTS opencv_core )
3838find_package (PkgConfig )
3939pkg_search_module (LOG4CXX REQUIRED liblog4cxx )
4040
Original file line number Diff line number Diff line change 11# BUILD
22
3- NOTE: To build and run this component, OpenCV 4.5 .0
3+ NOTE: To build and run this component, OpenCV 4.9 .0
44 must be installed first.
55
66NOTE: You must build the MPF Component API library before
77 building this component. See the instructions
88 in the README at the top-level component API
99 directory.
1010
11- Before you build, edit the src/CMakeLists.txt file, and change
12- the "find_package" command so that the PATHS option specifies
13- the root directory of your OpenCV 4.5.0 installation.
11+ The CMakeLists.txt file for this example is written to look for
12+ OpenCV 4.9.0 installed at ` /opt/opencv-4.9.0 ` . If your local
13+ installation is in a different location, edit the CMakeLists.txt
14+ file in this directory to change the ` find_package ` command so
15+ that the PATHS option specifies the root directory of your
16+ OpenCV 4.9.0 installation.
1417
1518Run the following commands:
1619```
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ include(../ComponentSetup.cmake)
3434
3535find_package (mpfComponentInterface REQUIRED )
3636find_package (mpfDetectionComponentApi REQUIRED )
37- find_package (OpenCV 4.5.5 EXACT REQUIRED PATHS /opt/opencv-4.5.5 COMPONENTS opencv_core opencv_highgui )
37+ find_package (OpenCV 4.9.0 EXACT REQUIRED PATHS /opt/opencv-4.9.0 COMPONENTS opencv_core opencv_highgui )
3838
3939
4040set (IMAGE_TRANSFORMER_COMPONENT_SOURCES ImageTransformerComponent.h ImageTransformerComponent.cpp)
Original file line number Diff line number Diff line change 11# BUILD
22
3- NOTE: To build and run this component, OpenCV 4.5 .0
3+ NOTE: To build and run this component, OpenCV 4.9 .0
44 must be installed first.
55
66NOTE: You must build the MPF Component API library before
77 building this component. See the instructions
88 in the README at the top-level component API
99 directory.
1010
11- Before you build, edit the src/CMakeLists.txt file, and change
12- the "find_package" command so that the PATHS option specifies
13- the root directory of your OpenCV 4.5.0 installation.
11+ The CMakeLists.txt file for this example is written to look for
12+ OpenCV 4.9.0 installed at ` /opt/opencv-4.9.0 ` . If your local
13+ installation is in a different location, edit the CMakeLists.txt
14+ file in this directory to change the ` find_package ` command so
15+ that the PATHS option specifies the root directory of your
16+ OpenCV 4.9.0 installation.
1417
1518Run the following commands:
1619```
You can’t perform that action at this time.
0 commit comments