Skip to content

Commit

Permalink
Dependent on opencv#1734
Browse files Browse the repository at this point in the history
  • Loading branch information
cv3d committed Aug 28, 2018
1 parent 5d3928e commit b75a188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/aruco/include/opencv2/aruco/dictionary.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class CV_EXPORTS_W Dictionary {
* - DICT_ARUCO_ORIGINAL: standard ArUco Library Markers. 1024 markers, 5x5 bits, 0 minimum
distance
*/
enum CV_EXPORTS_W_SIMPLE PREDEFINED_DICTIONARY_NAME {
enum PREDEFINED_DICTIONARY_NAME {
DICT_4X4_50 = 0,
DICT_4X4_100,
DICT_4X4_250,
Expand Down
2 changes: 1 addition & 1 deletion modules/optflow/src/sparse_matching_gpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ bool ocl_getAllDCTDescriptorsForImage( const Mat *imgCh, std::vector< GPCPatchDe
(int)globSize[0], (int)globSize[1], (int)patchRadius )
.run( 2, globSize, 0, true ) == false )
return false;
Mat cpuOut = out.getMat( 0 );
Mat cpuOut = out.getMat( ACCESS_READ );
for ( int i = 0; i + 2 * patchRadius < sz.height; ++i )
for ( int j = 0; j + 2 * patchRadius < sz.width; ++j )
descr.push_back( *cpuOut.ptr< GPCPatchDescriptor >( i * globSize[1] + j ) );
Expand Down

0 comments on commit b75a188

Please sign in to comment.