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 | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    cvCvtColor Assertion failed

    GitHub | 5 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