Detect book shapes and more. Very machine learning.

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

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