Jump to content

GPU Accelerated Motion Detector/Examples/Library Usage: Difference between revisions

Line 246: Line 246:
We the library we include a C++ application showing its usage. It can be found in the repository under '''examples/cvexample.cpp'''.  
We the library we include a C++ application showing its usage. It can be found in the repository under '''examples/cvexample.cpp'''.  


In the application, the usage of the min area and ROI properties are shown. For this example, the ROI was defined as'''(x1, x2, y1, y2) = (0.25, 0.75, 0 1)''' and the minimum area 0.01% of the total area of the image so any object outside of the defined ROI or when an area smaller than 0.01% will be discarded.  
In the application, the usage of the min area and ROI properties are shown. For this example, the ROI was defined as '''(x1, x2, y1, y2) = (0.25, 0.75, 0 1)''' and the minimum area 0.01% of the total area of the image so any object outside of the defined ROI or when an area smaller than 0.01% will be discarded.  


In order to get it working
In order to get it working
Cookies help us deliver our services. By using our services, you agree to our use of cookies.