-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
findPoints() distinct from findPointMatches() #4
Comments
@jywarren I believe the cache mechanism serves this exact purpose, i.e., if the user decides to run the match again it will be 100% instantaneous, also the caching is automated for different image imputs so the user doesn't have to explicitly specify "storing" the outputs in their code for different pair of images. The overhead is, as I described yesterday, reduced from ~7000 frames to a maximum of 15 frames (benchmarked on Windows XP using BrowserStack), which is comparatively negligible (99.8% lesser frames than before) in terms of performance. Also, just to mention, the users can pass a Without caching (cleared With caching (instantaneous, second iteration onwards): PS. Just mentioning that currently the module implements Thanks! |
Actually, I just want to know if they can be run separately by downstream code - and if this is well documented in the README, with their accepted parameters and options? That'd be really great, thanks! |
And I'd really like if you could expose them with those names, because I don't see anything in the README that is as understandable as those names, that helps people know the steps in the process or how to use them. Thanks, @rexagod! This will really make the library much more understandable to people, you know? Something like:
And the same for the matching step!
See how this type of documentation can walk people through a real usage scenario for your code, with examples, explanations, and code snippets? How it explains how to use the lib to someone who just knows they have 2 images and want to generate matches, and tune/optimize themselves? Please try to produce some documentation that follows this format, and has naming conventions that are really understandable -- you can have deeper explanations of the algorithms you use further down in the README, but we really need to show the basics of usage in simple, functional terms, and show people how to put this code to work! Thanks @rexagod !!!! This will be great! 🎉 |
Hi @rexagod can you provide an update on progress here and mark the lines of code where this is happening? Thanks! |
@jywarren The "points" are capped at 500 while the "matchedPoints" are a subset of those. This generation of "points" is almost instantaneous (owing to the recent changes in the lib) and limiting the points doesn't bring any substantial performance improvement since we're already maxed out on optimizations. But this could be incorporated into the lib from a UX POV, I guess. What do you say? |
On it! |
Great! Just be sure to open a PR which contains the changes that fulfill this issue -- all together! Thanks! |
Closed in favor of #10 |
Building on #2 --
Hi @rexagod -- is there another method for
findPoints()
(roughly?)?And, once an image is matched with this, is there a stored "analyzed image" object in memory that we could store so that people could save computation time by storing the points in a single image, so that if they want to do another match it'd run faster?
So for example, can the process be broken up into:
Does this make sense? Thanks!
The text was updated successfully, but these errors were encountered: