2,599
edits
Efernandez (talk | contribs) |
Efernandez (talk | contribs) |
||
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 | 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 (1%) 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 |