Examples of KMeansTree


Examples of com.alibaba.simpleimage.analyze.search.tree.KMeansTree

            surfPoints.clear();
        }

        System.out.println("Begin to Build Tree");
        ClusterBuilder clusterer = new MeansClusterBuilder();
        KMeansTree tree = VocabTreeManager.makeTree(points, clusterer, 1);
        points.clear();
        // System.out.println("Total Points: " + count);
        // System.out.println("Total Words: " + tree.getLeafsList().size());
        SerializationUtils.saveObject(tree, new File(location));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.