python,properties,classification,svm,simplecv
Did you try to include nu in the parameter list?: classifier = SVMClassifier(feature_extractors,{'KernelType':'Linear','SVMType':'C','nu':None})? ...
As @zoosuck mentioned, 'Image' is a module. This is correct, but it isn't the problem (NOTE I've edited this response). first, might I suggest something? You are trying to write a full program all at once. Instead maybe try just a very simple program with no GUI at all and...
python,c++,opencv,flood-fill,simplecv
If you look closely at the documentation, that's one of the purpose of mask. You can call multiple times the function (2nd version) every time with a different seed, and at the end mask will contain the area that has been floodfilled. If a new seed belongs to an area...
python-2.7,opencv,blob,simplecv,blobs
If findBlobs doesn't find any blobs, or if there's some problem with input image, it returns None. And hence the error. So you might want to add a check if blobs is None or not. if blobs is not None: blobs.draw() simplecvimg.show() Also, try using some other image to see...
As Xamox answered,the server was not working because of the firewall. After I disabled the firewall, it worked.
from SimpleCV import * crops = ((0,0,320,240),(320,0,320,240),(0,240,320,240),(320,240,320,240)) cam=VirtualCamera('vd.mpg','video') while True: imgs=[] img=cam.getImage() for crop in crops: imgs.append(img.crop(crop[0],crop[1],crop[2],crop[3])) row1=imgs[0].sideBySide(imgs[1]) row2=imgs[2].sideBySide(imgs[3]) outputimg=row1.sideBySide(row2, 'top') outputimg.show() ...
python,raspberry-pi,simplecv,webiopi
You have two try statements, and only one except statement. Add an except clause for the first try, at the end of the main function, indented 4 spaces, and it will work. Line 86 is just past the end of your code, and is where Python is looking for a...
python,opencv,pip,homebrew,simplecv
One of the ubuntu/pip packages had that file missing and it broke everything. There's no issue with your files. If you can build from github source, it would be the best option and would give you a lot more modules. This should be helpful.
raspberry-pi,raspbian,simplecv
From what I can tell, referencing the book Practical Computer Vision with Simple CV... On Linux, all peripheral devices have a file created for them in the /dev directory. For cameras, the file names start with video and end with the camera ID, such as /dev/video0 and /dev/video1 . The...