java.lang.RuntimeException: /home/ubuntu/javacpp-presets/opencv/cppbuild/linux-armhf/opencv-3.1.0/modules/imgproc/src/color.cpp:8479: error: (-215) dst.data == dst0.data in function cvCvtColor

GitHub | Cir0X | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    cvCvtColor Assertion failed

    GitHub | 8 months ago | Cir0X
    java.lang.RuntimeException: /home/ubuntu/javacpp-presets/opencv/cppbuild/linux-armhf/opencv-3.1.0/modules/imgproc/src/color.cpp:8479: error: (-215) dst.data == dst0.data in function cvCvtColor

    Root Cause Analysis

    1. java.lang.RuntimeException

      /home/ubuntu/javacpp-presets/opencv/cppbuild/linux-armhf/opencv-3.1.0/modules/imgproc/src/color.cpp:8479: error: (-215) dst.data == dst0.data in function cvCvtColor

      at org.bytedeco.javacpp.opencv_imgproc.cvCvtColor()
    2. JavaCPP
      opencv_imgproc.cvCvtColor
      1. org.bytedeco.javacpp.opencv_imgproc.cvCvtColor(Native Method)
      1 frame
    3. de.cir0x.camerapi
      Main.main
      1. de.cir0x.camerapi.Main.motionDetection(Main.java:74)
      2. de.cir0x.camerapi.Main.main(Main.java:52)
      2 frames