java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 562#272491348
    via GitHub by matthewcodes
    ,
  • OpenCV: convert array of integer to Mat
    via Stack Overflow by devrandom
    ,
    • java.lang.RuntimeException: /Users/saudet/projects/bytedeco/javacpp-presets/opencv/cppbuild/macosx-x86_64/opencv_contrib-3.1.0/modules/face/src/lbph_faces.cpp:359: error: (-5) The number of samples (src) must equal the number of labels (labels). Was len(samples)=891, len(labels)=0. in function train at org.bytedeco.javacpp.opencv_face$FaceRecognizer.train(Native Method)
    No Bugmate found.