christopher5106 / fastannotationtool Goto Github PK
View Code? Open in Web Editor NEWA tool using OpenCV to annotate images for image classification, optical character reading, ...
A tool using OpenCV to annotate images for image classification, optical character reading, ...
Does FIAT requires OpenCV 2, 3 -- or both? It isn't clear from documentation, configuration, or installation errors when attempting to install FIAT.
Documentation says "OPENCV"
Errors when attempting to make
on a machine without OpenCV installed seem to reference OpenCV2:
In file included from src/WorkImage.cpp:1:
src/WorkImage.h:9:10: error: 'opencv2/core/core.hpp' file not found with
<angled> include; use "quotes" instead
#include <opencv2/core/core.hpp>
Makefile indicates OpenCV3:
opencv_lib := -L/usr/local/opt/opencv3/lib $(opencv_l)
Installing first OpenCV3 (e.g. with homebrew on OS X 10.10) then attempting to make FIAT, make gives an error in not finding opencv_contrib:
ld: library not found for -lopencv_contrib
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [all] Error 1
...I thought (?) opencv_contrib was included in opencv2 but moved out of opencv3), so this seems to indicate expecting OpenCV2...?
The project documentation says "Requires OPENCV and Google Protobuf."
Does FIAT require Caffe as well?
ifdef CAFFE
, implying noIn file included from src/Output.cpp:1:
src/Output.h:23:10: fatal error: 'caffe/proto/caffe.pb.h' file not found
#include "caffe/proto/caffe.pb.h"
^
This appears to be because CAFFE_ (a different variable with an underscore) is manually set on Makefile 48 and then checked on Output.h
$(compiler) -DCAFFE_=1 -o bin/extractRect $(opencv_flags) $(utils) $(caffe_include) src/Output.cpp src/extractRect.cpp $(opencv_lib) $(caffe_lib) -llmdb $(lgflags)
I'm hoping to install FIAT without Caffe if possible -- the barrier to Caffe installation can be quite high on some machines, and it isn't clear to me why it should be a requirement for this tool.
I can't modify a active rectangle using arrows. And Fn key + arrows can not change the rotation or scale either. Every time I press "->" , it only displays the next image.
Hi Chris,
Thanks for this tool, but doesn't seem to work properly for me. I'm on macOS Sierra 10.12.4. When I click the first time, it draws a box already centred on the click. Every subsequent click, it draws a back whose diagonal is from the center of the previous box to the point of this click. The arrow keys, with our without FN, also don't work as they are supposed to. Right arrow just goes to the next image, for example.
Probably again an issue with the key codes? Thanks for any help.
Hello,
how can I compile it ?
just like https://github.com/tzutalin/labelImg but add the rotation .
In order to build FIAT on OS X 10.10.5 I was unable to use the default MakeFile -- make
errors out with:
ld: library not found for -lopencv_gpu
I needed to make adjustments to the Makefile line 17, removing these arguments:
After that FIAT built with no apparent issues.
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.0 (clang-700.0.72)
Target: x86_64-apple-darwin14.5.0
When trying to annotate a folder containing multiple images, the tool is skipping almost 30% of the images.
I was trying with around 100 images in a folder. Each images contain unique data and unique name, but almost 28-30 images are skipped by the tool.
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.