keeferrourke / imgrep Goto Github PK
View Code? Open in Web Editor NEWA grep for images. Submission to Hack the North 2017.
Home Page: https://devpost.com/software/imgrep
License: Other
A grep for images. Submission to Hack the North 2017.
Home Page: https://devpost.com/software/imgrep
License: Other
imgrep init
doesn't remove files from the db if they aren't found in subsequent scans of a directory
fix: keep file listing in memory when running files.Walker()
and compare to db.
ex:
fileListing := getFiles() // or whatever, just get a listing of the directory, k? string slice can be appended to as we run through Walker()
for _, f := 0 range file_listing {
if !storage.IsInDB(f) {
storage.Remove(f)
}
}
or w/e
to make this more grep
-like and so as not to force users to scan their entire file trees, imgrep search
should default to a non-recursive scan of the current working directory. The current recursive behaviour should move to imgrep search -r
This should be able to done by mocking out a filesystem using an osFS{}.
Details for mocking out a filesystem can found in the 10 things you (probably) don't know about Go talk from 2012.
There may be a nicer way of doing this using a package like vfs but I would rather not add another package dependency for testing (I think).
This issue is a more specific discussion from issue #3.
and also get that test coverage % sticker thing on the readme
biggest bottleneck by far, should look into better algos/optimizations we can make. possible first step might be removing gosseract
dependency
need to make this easy for non technical users to install, should target popular OSes
pick up where we left off, maybe add column to schema to determine how old files are and if they need to be re-indexed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.