brandonmpetty / Doxa

A Local Adaptive Thresholding framework for image binarization written in C++, with JS and Python bindings. Implementing: Otsu, Bernsen, Niblack, Sauvola, Wolf, Gatos, NICK, Su, T.R. Singh, WAN, ISauvola, Bataineh, Chan and Shafait.
https://brandonmpetty.github.io/Doxa/WebAssembly
Creative Commons Zero v1.0 Universal
167 stars 37 forks source link

Enable compile for UNIX #13

Closed paulbauriegel closed 3 years ago

paulbauriegel commented 3 years ago

I changed the Readme.md so that CMake auto-detects the architecture. I added a switch in CMakeLists.txt so that the compiler options are chooses based on the architecture. I tested the compilation on both Windows 10 and Ubuntu 20.04