Detect book shapes and more. Very machine learning.

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

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