Skip to content

JavaScript port of FLANN - Fast Library for Approximate Nearest Neighbors

License

Notifications You must be signed in to change notification settings

agrbin/flann.js

Repository files navigation

flann.js

This is flann.js, a port of C++ FLANN library to JavaScript.

Fast Library for Approximate Nearest Neighbors FLANN is a C++ library written by Marius Muja and David G. Lowe.

One can use JavaScript version to do in-browser image processing, or pattern recognition.

Ported by Anton Grbin using emscripten.

Examples

In examples/shell-examples/ one can find few examples of usage in Node.

examples/web-examples/ shows how this library can be used on web.

Plane example

Plane example generates 100 random pivot points in plane and assigns random color to each of them.

Autotuned index is built based on those pivot points.

Afterwards, new random points are generated and they are colored with color of nearest pivot point as returned by Flann index.

This example is visible on gh-pages.

About

JavaScript port of FLANN - Fast Library for Approximate Nearest Neighbors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published