Closed GoogleCodeExporter closed 9 years ago
Could you please post the content of the String object returned by
MY_IPL_IMAGE.toString()? Thanks
Original comment by samuel.a...@gmail.com
on 2 Oct 2013 at 11:48
Hi Samuel,
Here is the toString of the IplImage object I am passing to the method
IplImage[width=125,height=150,depth=8,nChannels=1]
And attached is the one of images which I am using for training the recognizer.
Original comment by naval.ga...@paxcel.net
on 2 Oct 2013 at 11:53
Attachments:
Looks alright, but not many software work with image widths that are not
multiples of 8 or 16, so you should try 128x150 images...
Original comment by samuel.a...@gmail.com
on 2 Oct 2013 at 12:50
Hi Samuel,
Got it working...Thanks alot.
However, I have noticed that the prediction is 70% accurate in either of
EigenFace, FisherFace or LBPH.
Some time the result predicts me as one of the girl whose image I am using for
training, Can I do something else to solidify the result of the class?
Original comment by naval.ga...@paxcel.net
on 2 Oct 2013 at 2:48
70% sounds good..
In any case, please report upstream at
http://code.opencv.org/projects/opencv/issues the issue concerning the image
width and post a link here, thanks!
Original comment by samuel.a...@gmail.com
on 3 Oct 2013 at 2:17
As suggested, i have raised the issue to opencv and the bug is reported under
http://code.opencv.org/issues/3299
Original comment by naval.ga...@paxcel.net
on 3 Oct 2013 at 11:53
Great! Thanks!
Original comment by samuel.a...@gmail.com
on 3 Oct 2013 at 12:01
Since this is an issue with OpenCV, there is nothing to be done in JavaCV,
which will work fine when the upstream is fixed, so I'll switch the status to
"Done" if this is alright with you. In any case, thanks for reporting!
Original comment by samuel.a...@gmail.com
on 19 Jan 2014 at 7:12
I changed the dimensions to 128x150. Yet I am getting the same error.
OpenCV Error: Image step is wrong (The matrix is not continuous, thus its
number of rows can not be changed) in reshape, file
/build/buildd/opencv-2.4.9+dfsg/modules/core/src/matrix.cpp, line 802
terminate called after throwing an instance of 'cv::Exception'
what(): /build/buildd/opencv-2.4.9+dfsg/modules/core/src/matrix.cpp:802: error: (-13) The matrix is not continuous, thus its number of rows can not be changed in function reshape
Aborted (core dumped)
Original comment by jain.bha...@gmail.com
on 27 Jan 2015 at 4:32
Hi Jain,
Could you please compare the content of the String object returned by
MY_IPL_IMAGE.toString() with the the content of my object?
Original comment by naval.ga...@paxcel.net
on 28 Jan 2015 at 5:22
Original issue reported on code.google.com by
naval.ga...@paxcel.net
on 2 Oct 2013 at 11:26