event-based blob tracking. Tracking a blob of moving events, which can be anything, people/cars (see the picture below).
- Blob initialization, blob tracking, and blob kill
- Up to about 2Mb events/s processed on an Intel i7 CPU, single thread
dependencies
gflags
is needed for parameter settings. Download and compile: here.
OpenCV
is optional only for visulization. Install it before or comment the codes for visualization.
Tested on Ubuntu 18.04, OpenCV 3.2.
Clone, compile and run.
# clone
git clone https://github.com/LarryDong/blob_tracking.git
# modifty the `path` in main.cpp
# compile
mkdir build && cd build
cmake .. && make
# run:
./blob_tracking <--parameters> # check the sorce file to see parameters.
- The blob size is fixed to be a circle with constant radius, but can be easily modofied.
- Cannot merge/split two blobs when two blobs come together/apart, easily to be implemented.
- No denoise process, which may cause computation burden on noisy environment.
Feel free to pull issues/requests, or contact Larrydong: jfjxxdy2007@126.com.