Skip to content
Snippets Groups Projects
Commit 21039104 authored by Jayke Meijer's avatar Jayke Meijer
Browse files

Added reading of the image to code.

parent c7782ee0
No related branches found
No related tags found
No related merge requests found
from pylab import imread, figure, show, imshow
# Divide the examined window to cells (e.g. 16x16 pixels for each cell).
# For each pixel in a cell, compare the pixel to each of its 8 neighbors
......@@ -14,3 +16,9 @@
# Optionally normalize the histogram. Concatenate normalized histograms of all
# cells. This gives the feature vector for the window.
image = imread("../images/test.png")
figure()
imshow(image)
show()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment