diy:projets:paperscanner
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| diy:projets:paperscanner [2018/04/25 21:26] – [Crop and rotate target paper] gbouyjou | diy:projets:paperscanner [2018/04/25 21:33] (Version actuelle) – [Crop and rotate target paper] gbouyjou | ||
|---|---|---|---|
| Ligne 30: | Ligne 30: | ||
| Firstly we have a picture of text page like this\\ | Firstly we have a picture of text page like this\\ | ||
| - | {{: | + | {{ : |
| + | \\ | ||
| and we have to retrieve all sentence of this text.\\ | and we have to retrieve all sentence of this text.\\ | ||
| \\ | \\ | ||
| Ligne 36: | Ligne 37: | ||
| I need to find the four corner of page before use warpPerspective function,\\ | I need to find the four corner of page before use warpPerspective function,\\ | ||
| to eliminate other color unlike the white page, I use histogram to exclude other colors\\ | to eliminate other color unlike the white page, I use histogram to exclude other colors\\ | ||
| - | {{: | + | {{ : |
| On histogram, there are two peak, on left this is the yellow color chair,\\ | On histogram, there are two peak, on left this is the yellow color chair,\\ | ||
| and the other is the page color, seem as yellow more white that the precedent, | and the other is the page color, seem as yellow more white that the precedent, | ||
| Ligne 85: | Ligne 86: | ||
| </ | </ | ||
| after that, I make the contours, I see clearly the quadrilateral, | after that, I make the contours, I see clearly the quadrilateral, | ||
| - | {{: | + | {{ : |
| <code python> | <code python> | ||
| Ligne 155: | Ligne 156: | ||
| </ | </ | ||
| after ten seconds, I find 34.4% correct French word in the text. | after ten seconds, I find 34.4% correct French word in the text. | ||
| - | {{: | + | {{: |
diy/projets/paperscanner.1524691574.txt.gz · Dernière modification : de gbouyjou
