自由之世界需要活潑的想法︰
Computer Vision platform using Python.
What is it?
SimpleCV is an open source framework for building computer vision applications. With it, you get access to several high-powered computer vision libraries such as OpenCV – without having to first learn about bit depths, file formats, color spaces, buffer management, eigenvalues, or matrix versus bitmap storage. This is computer vision made easy.
創造人人可以參與的多元學習環境︰
SimpleCV Tutorial
About
SimpleCV is an open source framework — meaning that it is a collection of libraries and software that you can use to develop vision applications. It lets you work with the images or video streams that come from webcams, Kinects, FireWire and IP cameras, or mobile phones. It’s helps you build software to make your various technologies not only see the world, but understand it too. SimpleCV is free to use, and because it’s open source, you can also modify the code if you choose to. It’s written in Python, and runs on Mac, Windows, and Ubuntu Linux. It’s developed by the engineers at Sight Machine, and it’s licensed under the BSD license.Note: These examples are written for SimpleCV version 1.3 or greater. Certain functions may not work in earlier versions. For best results, download the latest version.
此處給出樹莓派派生二 python2 的 SimpleCV 安裝方法︰
sudo apt-get install ipython sudo pip install scipy sudo pip install numpy sudo apt-get install python-opencv sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master sudo pip install svgwrite sudo apt-get install lsof
並驗之以
Getting Started
範例︰
sudo modprobe bcm2835-v4l2 pi@raspberrypi:~ $ python Python 2.7.9 (default, Sep 17 2016, 20:26:04) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from SimpleCV import Camera >>> cam = Camera() >>> while True: ... img = cam.getImage() ... img = img.binarize() ... img.drawText("Hello World!") ... img.show() ... <SimpleCV.Display Object resolution:((640, 480)), Image Resolution: (640, 480) at memory location: (0x6e355aa8)> <SimpleCV.Display Object resolution:((640, 480)), Image Resolution: (640, 480) at memory location: (0x6e355c60)> <SimpleCV.Display Object resolution:((640, 480)), Image Resolution: (640, 480) at memory location: (0x6e355da0)>
好學者或喜多讀書︰
- Capture images from several sources, including webcams, smartphones, and Kinect
- Filter image input so your application processes only necessary information
- Manipulate images by performing basic arithmetic on pixel values
- Use feature detection techniques to focus on interesting parts of an image
- Work with several features in a single image, using the NumPy and SciPy Python libraries
- Learn about optical flow to identify objects that change between two image frames
- Use SimpleCV’s command line and code editor to run examples and test techniques
樂看程式碼吧☆