Ask Your Question
0

Unable to find solution for ERROR: SampleCB() - buffer sizes do not match

asked 2014-07-13 17:09:51 -0600

theSuda gravatar image

Hi,

I wanted to try SinpleCV so I went ahead and installed it on Windows 8.1 Dell laptop. I am stuck at Hello World program itself due to this error. I run the program and I get this error and a blank SimpleCV window.

ERROR: SampleCB() - buffer sizes do not match

Googling this error did not really help. There is one more question on this forum with this error but that has no useful replies. Any help appreciated.

edit retag flag offensive close merge delete

Comments

Can someone help me out here. After reinstalling everything, still no avail.

theSuda gravatar imagetheSuda ( 2014-08-10 07:46:56 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-08-16 17:30:29 -0600

theSuda gravatar image

I had given up on learning SimpleCV due to this issue. But today I decided to give it a last chance. After playing with drivers and dell for a long time, I thought may be it is just camera initialization issue. And found a post about it on this forum here: http://help.simplecv.org/question/41/how-can-i-set-the-camera-capture-width-and-height/

So all did was initialized camera object with specific size and this issue got resolved.

cam = Camera(prop_set={"width":300,"height":300})

edit flag offensive delete link more
0

answered 2016-05-31 12:22:12 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I have got the same issue. I would love to get more info about that error. Pycharm IDE, Windows 10 64 bit.

I did try adding the "cam = Camera(prop_set={"width":<width_res>,"height":<height_res>})" It resulted in divide by zero error

There is no access to the camera resolution in windows 10 driver.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-07-13 17:09:51 -0600

Seen: 16,313 times

Last updated: Aug 16 '14