org.opencv.core.CvException: cv::Exception: /home/maksim/workspace/android-pack/opencv/modules/core/src/matrix.cpp:411: error: (-215) u != 0 in function void cv::Mat::create(int, const int*, int)

Stack Overflow | user2121 | 2 months ago
  1. 0

    OutOfMemoryError generated due to camera preview

    Stack Overflow | 2 months ago | user2121
    org.opencv.core.CvException: cv::Exception: /home/maksim/workspace/android-pack/opencv/modules/core/src/matrix.cpp:411: error: (-215) u != 0 in function void cv::Mat::create(int, const int*, int)
  2. 0

    issuehub.io

    issuehub.io | 1 year ago
    org.opencv.core.CvException: cv::Exception: /hdd2/buildbot/slaves/slave_ardbeg1/50-SDK/opencv/modules/core/src/alloc.cpp:52: error: (-4) Failed to allocate 8294404 bytes in function void* cv::OutOfMemoryError(std::size_t) ]
  3. 0

    issuehub.io

    issuehub.io | 1 year ago
    org.opencv.core.CvException: cv::Exception: /hdd2/buildbot/slaves/slave_ardbeg1/50-SDK/opencv/modules/core/src/alloc.cpp:52: error: (-4) Failed to allocate 8294404 bytes in function void* cv::OutOfMemoryError(std::size_t) ]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mat::t() Android, After give time gives out of the memory

    GitHub | 1 year ago | opencv-pushbot
    org.opencv.core.CvException: cv::Exception: /hdd2/buildbot/slaves/slave_ardbeg1/50-SDK/opencv/modules/core/src/alloc.cpp:52: error: (-4) Failed to allocate 4915204 bytes in function void* cv::OutOfMemoryError(std::size_t) ]
  6. 0

    Android - Opencv - error: (-215) u != 0 in function void cv::Mat::create

    Stack Overflow | 8 months ago | 2D3D
    org.opencv.core.CvException: cv::Exception: /Volumes/Linux/builds/master_pack-android/opencv/modules/core/src/matrix.cpp:424: error: (-215) u != 0 in function void cv::Mat::create(int, const int*, int) ]

    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. org.opencv.core.CvException

      cv::Exception: /home/maksim/workspace/android-pack/opencv/modules/core/src/matrix.cpp:411: error: (-215) u != 0 in function void cv::Mat::create(int, const int*, int)

      at org.opencv.core.Mat.n_t()
    2. org.opencv.core
      Mat.t
      1. org.opencv.core.Mat.n_t(Native Method)
      2. org.opencv.core.Mat.t(Mat.java:852)
      2 frames
    3. com.example.bak
      MainActivity.onCameraFrame
      1. com.example.bak.opencvcamera_00.MainActivity.onCameraFrame(MainActivity.java:109)
      1 frame
    4. org.opencv.android
      JavaCameraView$CameraWorker.run
      1. org.opencv.android.CameraBridgeViewBase.deliverAndDrawFrame(CameraBridgeViewBase.java:391)
      2. org.opencv.android.JavaCameraView$CameraWorker.run(JavaCameraView.java:350)
      2 frames