Ask Your Question

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

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

theSuda gravatar image


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


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

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

2 Answers

Sort by ยป oldest newest most voted

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

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:

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

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

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


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

Seen: 17,125 times

Last updated: Aug 16 '14