This is a cvblob(blob detection) project inheried from cvblob, which could detect mutiple shapes from images and return properties (minarearect, centroids, long edge, etc). Adding pybind11 binding so it could be used in python scripts.
ubuntu16.04
pybind11
opencv 3.4
cmake 3.18
install opencv3.4 in your computer and add path to LD_LIBRARY_PATH.
pip install -r cvblob_requirements.txt
cmake .
make
cd bin
then a test exec file will generated, it will inter test.png in test folder and show blobs
./test
dependency is shown in root dir CMakeLists.txt
run function in testpybind1.py to test pybind function