java.lang.RuntimeException: /Users/saudet/projects/bytedeco/javacpp-presets/opencv/cppbuild/macosx-x86_64/opencv-3.1.0/modules/imgproc/src/templmatch.cpp:1062: error: (-215) (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 in function matchTemplate

GitHub | emanresusername | 2 months ago
  1. 0

    GitHub comment 522#251027007

    GitHub | 2 months ago | emanresusername
    java.lang.RuntimeException: /Users/saudet/projects/bytedeco/javacpp-presets/opencv/cppbuild/macosx-x86_64/opencv-3.1.0/modules/imgproc/src/templmatch.cpp:1062: error: (-215) (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 in function matchTemplate
  2. 0

    How do I create an OpenCV Mat of shape [3,2] for an affine transform?

    Stack Overflow | 2 weeks ago | crockpotveggies
    java.lang.RuntimeException: /Users/saudet/projects/bytedeco/javacpp-presets/opencv/cppbuild/macosx-x86_64/opencv-3.1.0/modules/imgproc/src/imgwarp.cpp:6360: error: (-215) src.checkVector(2, CV_32F) == 3 && dst.checkVector(2, CV_32F) == 3 in function getAffineTransform
  3. 0

    RARE: Deserialization Exception

    GitHub | 11 months ago | JLLeitschuh
    java.lang.RuntimeException: /Users/saudet/projects/bytedeco/javacpp-presets/opencv/cppbuild/macosx-x86_64/opencv-3.0.0/modules/imgproc/src/color.cpp:7636: error: (-215) scn == 1 && (dcn == 3 || dcn == 4) in function cvtColor
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Perspective Transformation

    GitHub | 2 months ago | ElchinValiyev
    java.lang.RuntimeException: /bytedeco/javacpp-presets/opencv/cppbuild/linux-x86_64/opencv-3.1.0/modules/imgproc/src/imgwarp.cpp:6353: error: (-215) src.checkVector(2, CV_32F) == 4 && dst.checkVector(2, CV_32F) == 4 in function getPerspectiveTransform
  6. 0

    resize types don't work

    GitHub | 11 months ago | nightpool
    java.lang.RuntimeException: /Users/saudet/projects/bytedeco/javacpp-presets/opencv/cppbuild/macosx-x86_64/opencv-3.0.0/modules/imgproc/src/imgwarp.cpp:3363: error: (-5) Unknown interpolation method in function resize

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      /Users/saudet/projects/bytedeco/javacpp-presets/opencv/cppbuild/macosx-x86_64/opencv-3.1.0/modules/imgproc/src/templmatch.cpp:1062: error: (-215) (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 in function matchTemplate

      at org.bytedeco.javacpp.opencv_imgproc.matchTemplate()
    2. JavaCPP
      opencv_imgproc.matchTemplate
      1. org.bytedeco.javacpp.opencv_imgproc.matchTemplate(Native Method)
      1 frame
    3. matching
      TemplateMatching.main
      1. matching.TemplateMatching.newStyle(TemplateMatching.java:46)
      2. matching.TemplateMatching.main(TemplateMatching.java:29)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames