java.lang.RuntimeException: src\array.cpp:1248: error: (-5) Array should be CvMat or IplImage in function cvGetSize

Stack Overflow | Mee | 7 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

    Can't Grab Frame from External WebCam in JAVA

    Stack Overflow | 7 months ago | Mee
    java.lang.RuntimeException: src\array.cpp:1248: error: (-5) Array should be CvMat or IplImage in function cvGetSize

    2 unregistered visitors

    Root Cause Analysis

    1. java.lang.RuntimeException

      src\array.cpp:1248: error: (-5) Array should be CvMat or IplImage in function cvGetSize

      at org.bytedeco.javacpp.opencv_core.cvGetSize()
    2. JavaCPP
      opencv_core.cvGetSize
      1. org.bytedeco.javacpp.opencv_core.cvGetSize(Native Method)
      1 frame
    3. Unknown
      FaceRecogPanel.run
      1. FaceRecogPanel.scaleGray(FaceRecogPanel.java:471)
      2. FaceRecogPanel.trackFace(FaceRecogPanel.java:441)
      3. FaceRecogPanel.run(FaceRecogPanel.java:257)
      3 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame