This commit is contained in:
boyska 2017-01-05 14:00:14 +01:00
parent 40d353a37a
commit 1d75808c0e
2 changed files with 28 additions and 0 deletions

View file

@ -13,6 +13,8 @@ if (CUDA_FOUND)
include( FindCUDA )
cuda_add_executable( bs_dsp bs_dsp.cu )
target_link_libraries( bs_dsp ${OpenCV_LIBS} )
else()
message(STATUS "CUDA not found; will skip bs_dsp")
endif (CUDA_FOUND)
add_executable( lines lines.cpp )

26
README.md Normal file
View file

@ -0,0 +1,26 @@
Misc tools to identify important points/lines of book photos.
Build howto
============
```sh
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