[英]Java Library for image features extraction and comparison
I need a library for Histogram of Gradient (and similar) and SVM (or similar techniques) for Java (not Android). 我需要一个用于Java(而非Android)的Histogram of Gradient(和类似的)和SVM(或类似的技术)的库。 I Googled but nothing definitive came up.
我用谷歌搜索,但没有确定的结果。 Can you help me with that?
你能帮我吗?
For compute the HOG you can do it using Catalano Framework . 为了计算HOG,您可以使用Catalano Framework进行 。
See the example below: 请参阅以下示例:
//Load the image.
FastBitmap fb = new FastBitmap(bufferedImage);
//if the image is RGB, we must convert to grayscale.
if(fb.isGrayscale()) fb.toGrayscale();
HistogramOfOrientedGradients hog = new HistogramOfOrientedGradients();
ArrayList<double[]> hists = hog.ProcessImage(fb);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.