日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

一个不错的机器视觉库 SimpleCV: a kinder, gentler machine vision library

發(fā)布時(shí)間:2025/3/21 编程问答 35 豆豆
生活随笔 收集整理的這篇文章主要介紹了 一个不错的机器视觉库 SimpleCV: a kinder, gentler machine vision library 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

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.

THE BOOK

Need more help? Check out our book,"Practical Computer Vision with SimpleCV."


GETTING STARTED

from SimpleCV import Camera # Initialize the camera cam = Camera() # Loop to continuously get images while True:# Get Image from cameraimg = cam.getImage()# Make image black and whiteimg = img.binarize()# Draw the text "Hello World" on imageimg.drawText("Hello World!")# Show the imageimg.show()

This example shows a "Hello World" program that uses SimpleCV. In this example we first connect to a USB web camera. We then capture images from the web cam, apply a binary threshold that turns our image black and white, and then draws some text. The program then prints the results to a display.


EXAMPLES

This image shows the SimpleCV threshold function. The threshold method sets each pixel in an image to black or white depending on its brightness.?Example

In this image we applied the SimpleCV edges method. This method sets edge pixels in the image to white.?Example

Keypoints are visually unique areas of an image that are used for a variety of 3D reconstruction and image matching tasks. Finding keypoints in SimpleCV is super easy, just call the Image.findKeypoints method.?Example


These are just a small number of things you can do with SimpleCV. If you would like to learn more please refer to our?tutorial. There are also many examples included in the SimpleCV directory under the examples folder which can also be downloaded from?here.




Downloading SimpleCV


Before you click the download button below, please read the following. What you are downloading and installing is a packaged version of SimpleCV. It is meant include all the required libraries you should need to run SimpleCV. Please note that not all webcams work with SimpleCV. When you click the link it will begin downloading the appropriate super pack based on your operating system.

Latest Stable Release:?SimpleCV Version 1.3 Superpack Once you have everything installed, you can start learning how to use SimpleCV by going to the?learn section. ?Although it is not required, if you are new to computer vision or to SimpleCV, it is recommended you purchase the book to get up to speed quickly. In addition, you can refer to the?documentation?for details on each function in SimpleCV.

WANT TO RUN THE LATEST AND GREATEST?

The packaged version may not have some of the newest features maybe showcased in videos or examples posted online. If you would like to run the latest development version please follow the instructions included in the README file which is found in the download or is?hosted in the repository here.


NEED HELP?

Then head over to the forums at:?http://help.simplecv.org


HOW CAN I HELP CONTRIBUTE TO THE SIMPLECV PROJECT?

If you would like to help contribute please see our?How to Contribute to SimpleCV?page.





SimpleCV Tutorial

An easy way to become familiar with SimpleCV is by following the tutorial here. These are basic types of programs which demonstrate the concepts behind working with SimpleCV.

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.

Tutorials & Examples

  • SimpleCV Shell
  • SimpleCV Basics
  • The Hello World program
  • Interacting with the Display
  • Loading a Directory of Images
  • Macro’s
  • Kinect
  • Timing
  • Detecting a Car
  • Segmenting the Image and Morphology
  • Image Arithmetic
    • Exceptions in Image Math
    • Histograms
    • Color Space
    • Using Hue Peaks
    • Creating a Motion Blur Effect
    • Simulating Long Exposure
    • Chroma Key (Green Screen)
  • Drawing on Images in SimpleCV
    • Layers
    • Marking up the Image
    • Text and Fonts
    • Making a Custom Display Object

Videos & Video Tutorials

  • Pycon 2013


Welcome to SimpleCV’s documentation!

This is the online documentation for all of the SimpleCV functions. If you are looking for help on how to install SimpleCV, there is an installation guide which can help (http://simplecv.org/download). If you are just starting to program with SimpleCV, you can find example code and tutorials in the Learn section of this site (http://tutorial.simplecv.org). To access the documentation, click on the package name below or in the header bar above. This will show you all of the classes and methods defined for that package, and then you just click on the item that you’re interested in.

Help within the Shell:

# You can always get documentation from within the SimpleCV Shell as well by doing >>> img = Image('simplecv') >>> help(img) >>> # you can do the same with >>> img? # documentation will output here, press 'q' to quit documentation mode

API documentation

  • SimpleCV package
    • SimpleCV.Features package
      • SimpleCV.Features.BOFFeatureExtractor module
      • SimpleCV.Features.Blob module
      • SimpleCV.Features.BlobMaker module
      • SimpleCV.Features.Detection module
      • SimpleCV.Features.EdgeHistogramFeatureExtractor module
      • SimpleCV.Features.FaceRecognizer module
      • SimpleCV.Features.FeatureExtractorBase module
      • SimpleCV.Features.FeatureUtils module
      • SimpleCV.Features.Features module
      • SimpleCV.Features.HaarCascade module
      • SimpleCV.Features.HaarLikeFeature module
      • SimpleCV.Features.HaarLikeFeatureExtractor module
      • SimpleCV.Features.HueHistogramFeatureExtractor module
      • SimpleCV.Features.MorphologyFeatureExtractor module
    • SimpleCV.MachineLearning package
      • SimpleCV.MachineLearning.ConfusionMatrix module
      • SimpleCV.MachineLearning.KNNClassifier module
      • SimpleCV.MachineLearning.NaiveBayesClassifier module
      • SimpleCV.MachineLearning.SVMClassifier module
      • SimpleCV.MachineLearning.ShapeContextClassifier module
      • SimpleCV.MachineLearning.TemporalColorTracker module
      • SimpleCV.MachineLearning.TreeClassifier module
      • SimpleCV.MachineLearning.TurkingModule module
    • SimpleCV.Segmentation package
      • SimpleCV.Segmentation.ColorSegmentation module
      • SimpleCV.Segmentation.DiffSegmentation module
      • SimpleCV.Segmentation.MOGSegmentation module
      • SimpleCV.Segmentation.RunningSegmentation module
      • SimpleCV.Segmentation.SegmentationBase module
    • SimpleCV.Tracking package
      • SimpleCV.Tracking.CAMShiftTracker module
      • SimpleCV.Tracking.LKTracker module
      • SimpleCV.Tracking.MFTracker module
      • SimpleCV.Tracking.SURFTracker module
      • SimpleCV.Tracking.TrackClass module
      • SimpleCV.Tracking.TrackSet module
    • SimpleCV.Camera module
    • SimpleCV.Color module
    • SimpleCV.ColorModel module
    • SimpleCV.DFT module
    • SimpleCV.Display module
    • SimpleCV.DrawingLayer module
    • SimpleCV.Font module
    • SimpleCV.ImageClass module
    • SimpleCV.LineScan module
    • SimpleCV.Stream module
    • SimpleCV.base module

Indices and tables

  • Index
  • Module Index
  • Search Page





The Book


?

The SimpleCV book was written to supplement the SimpleCV framework. ?The book is highly recommended if you are new to either SimpleCV or computer vision in general. ?It will serve as a launch point for you to dive into learning SimpleCV. ?You can always refer to thetutorial?for a very basic introduction, but the book will give much broader insight into computer and machine vision applications so you can start writing your own. Back of Book: Learn how to build your own computer vision (CV) applications quickly and easily with SimpleCV, an open source framework written in Python. Through examples of real-world applications, this hands-on guide introduces you to basic CV techniques for collecting, processing, and analyzing streaming digital images. You’ll then learn how to apply these methods with SimpleCV, using sample Python code. All you need to get started is a Windows, Mac, or Linux system, and a willingness to put CV to work in a variety of ways. Programming experience is optional.
  • 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

?

Purchase the SimpleCV Book

File(s):? ?Practical_Computer_Vision_with_SimpleCV_supplemental_files.zip


from:?http://www.simplecv.org/

總結(jié)

以上是生活随笔為你收集整理的一个不错的机器视觉库 SimpleCV: a kinder, gentler machine vision library的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。