change links from samples/python2 to samples/python

This commit is contained in:
Alexander Alekhin
2015-12-16 16:36:03 +03:00
parent 2ecb48921b
commit 323e24e3ef
15 changed files with 34 additions and 34 deletions

View File

@@ -13,7 +13,7 @@ OCR of Hand-written Digits
Our goal is to build an application which can read the handwritten digits. For this we need some
train_data and test_data. OpenCV comes with an image digits.png (in the folder
opencv/samples/python2/data/) which has 5000 handwritten digits (500 for each digit). Each digit is
opencv/samples/data/) which has 5000 handwritten digits (500 for each digit). Each digit is
a 20x20 image. So our first step is to split this image into 5000 different digits. For each digit,
we flatten it into a single row with 400 pixels. That is our feature set, ie intensity values of all
pixels. It is the simplest feature set we can create. We use first 250 samples of each digit as