Skip to content

This is a cvblob(blob detection) project inheried from cvblob

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

YuzhouPeng/cvblob_opencv3.4_pybind

Repository files navigation

cvblob_opencv3.4

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.
1

requirements

ubuntu16.04
pybind11
opencv 3.4
cmake 3.18

train .pth file and convert .wts

install opencv

install opencv3.4 in your computer and add path to LD_LIBRARY_PATH.

create env

pip install -r cvblob_requirements.txt

make file, generate test file

cmake .
make

run test script and show result

cd bin

then a test exec file will generated, it will inter test.png in test folder and show blobs

./test

pybind11 binding and ctypes binding

dependency is shown in root dir CMakeLists.txt
run function in testpybind1.py to test pybind function

About

This is a cvblob(blob detection) project inheried from cvblob

Topics

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published