python - OpenCV LBP small example - cv2.error / Assertion failed -


i trying use code hanzra tech implement small lbp example.

but using number images mint database 28 x 28 pixel , this:

enter image description here

the code fails @ end, open images scores missing:

enter image description here

it gives me error, exact line causes error shown in error itself:

enter image description here

i tried other images, failed on same place.

here code. same in example. adjusted txt files , folders test/train images.


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -