Errata

Practical Computer Vision with SimpleCV

Errata for Practical Computer Vision with SimpleCV

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date Submitted
Printed Page 10
1

The windows Superpack installation does not work properly on windows 7. It does not create a SimpleCV program group or a link to access the program documentation, there is little or no coherent help for resolving this issue available that I can find, just a range of people having problems.

Bob Strunz  Mar 27, 2018 
Printed, PDF Page 95
Code listing and last paragraph (referring to (1) colorDistance() function)

Code listing and last paragraph (referring to (1) colorDistance() function), the RGB pixel values are not the same, the text implies they should be.

Esmail Bonakdarian  Dec 18, 2014 
ePub Page 23
United States

In the section "The Shell and The Filesystem" the location of the code examples has changed and the paths are incorrect.

"For example, you can download the images from
this book from the SimpleCV website at http://www.simplecv.org/learn/.
If the images used in this book are then stored in a folder named SimpleCV located in the home directory, then the paths to the example images used in this chapter would be:
SimpleCVC:\Users\your_username\SimpleCV\Chapter 2 on Windows

SimpleCV/home/your_username/SimpleCV/Chapter\ 2 on Linux

SimpleCV /Users/your_username/SimpleCV/Chapter\ 2 on Mac."

should be:
"For example, you can download the images from
this book from the SimpleCV website at http://simplecv.org/book

If the images used in this book are then stored in a folder named SimpleCV located in the home directory, then the paths to the example images used in this chapter would be:
C:\Users\your_username\SimpleCV\Chapter 2 on Windows

/home/your_username/SimpleCV/Chapter\ 2 on Linux

/Users/your_username/SimpleCV/Chapter\ 2 on Mac."

Anonymous  Jul 27, 2014 
PDF Page 25
Code block on lower half of page

Code raises a "video system not initialized" error when window is closed. This is an error that has been around for over a year, as can be seen from the SimpleCV forums: http://help.simplecv.org/question/1505/error-with-example-from-page-25/

No solution has been posted. Here is the code from the book:
--
from SimpleCV import Display, Image
import time

display = Display()
Image("logo").save(display)
print "I launched a window"

#this while loop will keep looping until the window is closed
while not display.isDone():
time.sleep(0.1)

print "You closed the window"
--

Branden Andersen  Jul 24, 2014 
PDF, ePub Page 170
code example at bottom of page

np.array of coin diameters vs. values is incorrect.

# The value of the coins in order of their size
# http://www.usmint.gov/about_the_mint/?action=coin_specifications
coin_diameter_values = np.array([
[ 19.05, 0.10],
[ 21.21, 0.01],
[ 17.91, 0.05],
[ 24.26, 0.25]]);


Should read:

coin_diameter_values = np.array([
[ 19.05, 0.01],
[ 21.21, 0.05],
[ 17.91, 0.10],
[ 24.26, 0.25]]);

Monte Milanuk  May 12, 2014 
PDF Page 164
First line

Import statement should include 'Color', i.e. 'from SimpleCV import Image, Color' or line 6 'circles[0].draw(color=Color.RED, width=4)' will fail.

Monte Milanuk  May 11, 2014 
PDF Page 34
United States

Code as presented does *not* save images stored in the ImageSet() because it is given no destination to save *to*.

e.g.

camImages.save(verbose=True)

should be:

camImages.save(destination="<name-of-desired-folder-or-gif-file>", verbose=True)

Monte Milanuk  May 08, 2014 
PDF Page 77
code sample at the bottom

import statement is missing Display

Anonymous  Sep 14, 2013