Comments (5)
HI, just tested it with plain Java and a call from the commandline
public class SurfDemo {
public static void main(String[] args) throws IOException, URISyntaxException {
// load the image
InputStream stream = SurfDemo.class.getClassLoader().getResourceAsStream("test.jpg");
ColorProcessor image = new ColorProcessor(ImageIO.read(stream));
// initialize the descriptor
SURF descriptor = new SURF();
// run the descriptor and extract the features
descriptor.run(image);
// obtain the features
List<double[]> features = descriptor.getFeatures();
// print the features to system out
for (double[] feature : features) {
System.out.println(Arrays2.join(feature, ", ", "%.5f"));
}
}
}
Works without errors. Any Idea? Otherwise I tend to think it's a sbt issue,
from jfeaturelib.
Thanks for confirming it's working as expected I will try to switch to Java and report back :)
from jfeaturelib.
It's working like you said. So it seems related to sbt / scala..
I've updated the repo jFeatureLib examples to fix some issues and add the surf demo there:
locked-fg/JFeatureLib-Demo#1
from jfeaturelib.
@locked-fg I'm opening it again as I can reproduce the issue in my repo: https://github.com/samos123/scala-feature-extraction
When using maven to build the scala project everything works as expected but when using sbt it fails with the log4j class not found exception.
I will be sticking with Maven for now but may investigate more into this later on. Any feedback would be appreciated :)
from jfeaturelib.
Thanks for your energy in that point. I'm trying to find a colleague who's willing to invest some energy ( @muuki88 - if you feel bored, feel free to join ;-)
from jfeaturelib.
Related Issues (20)
- Cleanup & test Kernel.process()
- Roberts-Cross Operator uses 3x3 instead of just 2x2 matrices
- SUSAN edge detector accepts color images only but internally converts to gray
- Surface Roughness Features
- Wrap JpegCoefficientsHistogram from Lire HOT 1
- Haralick: Wrong calculation of mean gray value HOT 1
- Omit save dialog when using sift
- Numerically unstable variance computation
- JFeatureLib dependencies not found on Maven Repo HOT 5
- Haralick feature should be wrong. HOT 3
- Banned dependencies HOT 12
- SBT doesn't return same jar as maven HOT 12
- SIFT feature extraction HOT 8
- Compilation Error HOT 4
- Followed all procedures to get SIFT features but getting empty .csv HOT 1
- NoClassDefFoundError: at/lux/imageanalysis/VisualDescriptor HOT 5
- Missing dependency net.semanticmetadata:lire:jar:0.9.4-fg-SNAPSHOT
- Support Roi HOT 4
- ShapeDescriptos should convert images to BinaryProcessor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jfeaturelib.