monai / node-imagesearch

Fuzzy search for subimage within image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pure Javascript

ghafran opened this issue · comments

Anyway you can make this a pure javascript library?

Of course this would not be as performant, however it would work across all platforms.

Current having issues with build process on mac and linux with npm install.

The core issue is that native bindings use v8 API directly and the API backwards compatibility was broken few times since Node.js v0.12 when i wrote this module. Reasonable solution would be to rewrite Node.js and v8 API calls to nan but I'm not interested in this project anymore and won't do that, however I would accept merge request.

First version of an algorithm I implemented in pure JS but it was so slow that almost unusable. Since v8 doesn't support yet (and especially at the time I wrote this module) vectorization, an external library is needed.