Ask Your Question
2

OpenCV 3.0.0-dev "Core_globbing" failure

asked Oct 30 '13

JBeale gravatar image

updated Oct 31 '13

berak gravatar image

I compiled opencv 3.0.0-dev from github.com/Itseez/opencv/archive/master.zip on my Raspberry Pi model A (ARMv6, 256M RAM). It took approximately 10 hours. Running bin/opencv_test_core I see many results report "OK" but there is a failure with "Core_globbing". What does this mean?

[----------] 1 test from Core_globbing
[ RUN      ] Core_globbing.accuracy
/mnt/USB1/opencv-master/modules/core/test/test_io.cpp:501: Failure
Expected: (lenas.size()) > (pngLenas.size()), actual: 0 vs 0
[  FAILED  ] Core_globbing.accuracy (11 ms)
[----------] 1 test from Core_globbing (17 ms total)
Preview: (hide)

1 answer

Sort by » oldest newest most voted
4

answered Nov 20 '13

Chanaka gravatar image

Hi,

I think you have just built your OpenCV Sources and tried to test the compilation by running "./opencv_test_core" in e.g:- "opencv-2.4.7/build/bin" folder.

this testcase fails because there is no input images, therefore take any .jpg and .png pictures and rename these 2 pictures as lena.jpg and lena.png and copy them into "opencv-2.4.7/build/bin" folder and run again..., you will pass this case.

Thanks.

Preview: (hide)

Comments

Thanks that worked for me

And you can do this copying those provided images from:

samples/java/clojure/simple-sample/resources/images/lena.png and

samples/data/lena.jpg
sergiomcfly gravatar imagesergiomcfly (Nov 27 '15)edit

Question Tools

Stats

Asked: Oct 30 '13

Seen: 3,397 times

Last updated: Nov 20 '13