alasin / digital-archive-cbir Goto Github PK
View Code? Open in Web Editor NEWA simple Image retrieval system built using NodeJS. Work in progress.
A simple Image retrieval system built using NodeJS. Work in progress.
Since the client relies on imagemagick to generate thumbnails, I had to install libmagick++-dev (its C++ interface) with a apt-get install libmagick++-dev
.
This should be added to the documentation / packaged with the code.
cv2.cv.Load() in searchsift.py throws an error because it's not supported in OpenCV 3. Fix this.
Currently path for docs is hard-coded as $node in doc("/home/kamikaze/Digital_Archive/Database/tags.xml").
Fix to make it dynamic, take value according to actual DB path.
This check is not sufficient. Currently, this allows non-image files to pass into the imread() call, and error is thrown. Eg: for important directory files like .gitignore, and perhaps other residual files, this error occurs. Fix by adding check for image file.
Currently it takes only *.jpg files (extension case-sensitive). Fails for files with name: *.JPG. Fix required to make it accept either of those.
The search query is converted to lowercase before querying tags.xml, while no such operation in performed while uploading the tag to the server.
Here's the stack trace.
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node- gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.13.0-63-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node- gyp.js" "rebuild"
gyp ERR! cwd /home/viraj/Documents/code/Digital-Archive-CBIR/Client/node_modules/opencv
gyp ERR! node -v v0.12.5
gyp ERR! node-gyp -v v2.0.1
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the opencv package,
npm ERR! not with npm itself.
Ever faced this?
I had to pip install xmltodict
. It would be helpful to generate a setup.py file that takes care of python dependencies instead.
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.