Commit 541d5b02 authored by apavlenko's avatar apavlenko

disabling due to accuracy issues

parent ccd8031a
...@@ -866,6 +866,7 @@ void Canny( InputArray _src, OutputArray _dst, ...@@ -866,6 +866,7 @@ void Canny( InputArray _src, OutputArray _dst,
Mat src = _src.getMat(), dst = _dst.getMat(); Mat src = _src.getMat(), dst = _dst.getMat();
CV_OVX_RUN( CV_OVX_RUN(
false && /* disabling due to accuracy issues */
src.type() == CV_8UC1 && src.type() == CV_8UC1 &&
!src.isSubmatrix() && !src.isSubmatrix() &&
src.cols >= aperture_size && src.cols >= aperture_size &&
......
...@@ -1714,7 +1714,7 @@ namespace cv ...@@ -1714,7 +1714,7 @@ namespace cv
#if VX_VERSION <= VX_VERSION_1_0 #if VX_VERSION <= VX_VERSION_1_0
if (ctx.vendorID() == VX_ID_KHRONOS && ((vx_size)(src.cols) <= ctx.convolutionMaxDimension() || (vx_size)(src.rows) <= ctx.convolutionMaxDimension())) if (ctx.vendorID() == VX_ID_KHRONOS && ((vx_size)(src.cols) <= ctx.convolutionMaxDimension() || (vx_size)(src.rows) <= ctx.convolutionMaxDimension()))
{ {
ctx.setBorderMode(prevBorder); ctx.setImmediateBorder(prevBorder);
return false; return false;
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment