Detect book shapes and more. Very machine learning.

boyska fc6cffe2ba python cv3 compatibility il y a 7 ans
.gitignore fb15d3d5b1 fix release build il y a 7 ans
CMakeLists.txt 88adc0ba22 optimize further_point_from_line il y a 7 ans
README.md 1d75808c0e readme il y a 7 ans
TestChangeCoord.h d044199220 FIXED and tested coordinate system change il y a 7 ans
TestLine.h aa2d7ba622 geometry: creates line (in implicit form) il y a 7 ans
bs_dsp.cu 40d353a37a powered by spray paint il y a 7 ans
cvutils.cpp bbd5210514 FIX find_longest_line on edge case il y a 7 ans
cvutils.h 9fdd4ebbb1 memory fixes il y a 7 ans
edge_finder.py fc6cffe2ba python cv3 compatibility il y a 7 ans
geometry.cpp 979d5a5a09 Inizio trasposizione linea verticale il y a 7 ans
geometry.h 979d5a5a09 Inizio trasposizione linea verticale il y a 7 ans
getfiles 40d353a37a powered by spray paint il y a 7 ans
lines.cpp 8e30e3fe36 improve transformation: vertical points is better than corners il y a 7 ans
lines.h fcc313fcaa similar_fit much improved il y a 7 ans

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