Questions tagged [simplecv]

SimpleCV is an Open Source Framework for Machine Vision

SimpleCV is a Framework of several machine vision and statistical libraries whose goal is to create an Open Source Matlab-like interface for working with image processing.

Its core functions are derived from OpenCV, the Python Imaging Library (PIL), the Python Scientific Computing Library (Scipy), and PyGame.

More information is available at SimpleCV's website.

181 questions
0
votes
2 answers

How to turn off the Camera in SimpleCV using python

I am getting the following error when I run the code below: Error: Camera instance has no attribute 'release' from SimpleCV import * import time def camera(self): try: cam=Camera(0) while cam is not None: …
0
votes
1 answer

Resize Image To Size of Other Image Python PIL

I have one image, and I have another image that I would like to resize to the size of the first image in python. I've attempted this in many different ways, all resulting in failure. How can I do this? Some failed methods: .thumbnail(), only works…
user7872485
0
votes
0 answers

SimpleCV Color Spaces not changing

Right now i am using python and taking an image with simplecv from my raspberry pi with the raspi cam but the R and B values are reversed. I saw in the image that blue is orange and wood is blue. I researched how to do it and i cam up with this…
Penguinz22
  • 13
  • 3
0
votes
2 answers

Error: No head is defined for smpeg

I am trying to install SimpleCV, I am following the instructions here (https://github.com/sightmachine/SimpleCV#mac-os-x-106-and-above). But when I try to install smpeg, using these commands: brew tap homebrew/headonly brew install --HEAD smpeg…
Wanderer
  • 1,065
  • 5
  • 18
  • 40
0
votes
1 answer

python-2.7 | SimpleCV - TypeError: 'float' object cannot be interpreted as an index

I'm trying to build a Image dewarping tool using simpleCV and python2.7. The code below worked perfectly fine before(when I was on Ubuntu 16.04.1 LTS) but I recently updated to the Ubuntu 17.04 and I get this error now. Here is the function: def…
Sapnesh Naik
  • 11,011
  • 7
  • 63
  • 98
0
votes
0 answers

Tkinter and simple Cv, Video freezes on execution

I was trying to build a small application in python, that has a Tkinter GUI and a seperate video feed from Simple Cv. I've written a bigger code, but for testing I've written a small snippet here. What this basically does is, creates an instance of…
user7735165
0
votes
1 answer

Fill area marked in black line

I am trying to find area contained within a black line in an image. Here is the Sample starting image "photo.jpg": Sample starting image "photo.jpg" I have used OpenCV and SimpleCV for this. Here is the code: from SimpleCV import Camera, Display,…
Sjy
  • 1
  • 3
0
votes
1 answer

Filter blobs by meanColor close to a specified colour SimpleCV

SimpleCV has this nifty function to filter blobs based on certain criteria. blobs.filter(numpytrutharray) Where numpytrutharray is generated by blobs.[property] [operator] [value]. I need to filter out blobs that are close to a certain colour,…
Jan Novák
  • 30
  • 1
  • 12
0
votes
1 answer

How can I force simpleblobdetection to only search inside a contour area?

I'm working on a project where I want to run simple blob detection, but only on areas inside a contour. I know contours can return bounding rectangles or circles, but I don't see how to limit a simple blob detection to the area inside that…
0
votes
2 answers

Library is not in Pycharm, even though i have already installed it

So i wanted to use the Quandl package to learn some data processing. I installed Quandl in the pycharm package, and it worked out pretty well. import Quandl, math and then, i use the Quandl to get some data from the internet data =…
Imperator123
  • 599
  • 2
  • 11
  • 25
0
votes
2 answers

Library package not in module PyCharm, even though I've already installed it

So I wanted to use the Quandl package to learn some data processing. I installed Quandl in the PyCharm package, and it worked out pretty well. import Quandl, math and then, I use the Quandl to get some data from the internet data =…
Imperator123
  • 599
  • 2
  • 11
  • 25
0
votes
1 answer

How to calculate a marked area within boundary in SimpleCV or OpenCV

I have this image: Here I have an image on a green background and an area marked with a red line within it. I want to calculate the area of the marked portion with respect to the Image. I am cropping the image to remove the green background and…
neon
  • 1
  • 2
0
votes
2 answers

How do I convert an RGB picture into graysacle using simplecv?

So working with windows, python 2.7 and simplecv I am making a live video with my webcam and want simplecv to give me a grayscale version of the video. Is there any simple way to achieve that? I found the command grayscale() on the opencv page,…
Jennan
  • 89
  • 11
0
votes
0 answers

Install error in simpleCV for Python

I just used SimpleCV1.3 superpack to install. I can use Python shell and import SimpleCV. However, when I want to open the SimpleCV Shell, it showed the error like below. I saw the Shell.py in C:\Python27\Lib\site-packages\SimpleCV\Shell/. And…
L.Leo
  • 63
  • 4
0
votes
1 answer

Image Processing (OpenCV with PHP) - Issue with the exec command

I have setup OpenCV 3.0 with python3.4 binding on ubuntu 14.04. I run OpenCV using virtualenv. So, everytime I have to run the workon cv command. Now I want to run a python script that uses OpenCV library from PHP using the exec…
Meghdeep Ray
  • 5,262
  • 4
  • 34
  • 58