This is an open source python API for detecting vesicles (currently only has a random forest classifier).
Mary Yen, Zhou Li, Jizhou Xu
https://www.lucidchart.com/invitations/accept/35f091a9-71ee-476a-8900-138160cea549
The code should be directly importable as Python modules. If you want to run a quick example from the command line, assuming you have numpy, scipy, and sklearn installed already, simply do:
python driver.py