Detect book shapes and more. Very machine learning.
boyska
1ac56e85eb
we are considering only the "external" part of the hull so that the processing is faster and the longest line is the vertical one. |
||
---|---|---|
.gitignore | ||
bs_dsp.cu | ||
CMakeLists.txt | ||
getfiles | ||
lines.cpp | ||
lines.h | ||
README.md |
Misc tools to identify important points/lines of book photos.
Build howto
cmake && make
./getfiles
(getfiles will sync the files/
directory from a remote server; no big files on git!)
Please note that bs_dsp requires CUDA libraries to be built (and an NVidia card to be run). If you don't have the appropriate libraries, it will just be skipped.
Tools
bs_dsp
correct colors, contrast, etc
lines
Given an image like files/masckera.png
it will extract the shape of the book