2015-10-13 02:59:47 -0600 | answered a question | Android saving enormous Mat object (Java) CvKNearest extends CvStatModel hence it has save and load-methods. Why don't you simply use those methods? Do you have to update your trained model? That would be a problem... |
2015-03-13 04:59:13 -0600 | answered a question | The opencv Mat object (java) The array "data" gives you the result of a single element of the Mat object. Thus, your initialization is wrong: byte[] data = new byte[(int)mat.elemSize()]; However, if you're using a Mat with a single channel only you may also ignore the array: System.out.println(mat.get(0, 0, new byte[(int) mat.elemSize()])); |
2015-03-11 05:51:40 -0600 | asked a question | Is it possible to use a prosilica camera in java? Hi, since not all functions of openCv are available under Java I wonder if it is possible to simply use a Procilica Gig-E camera under openCV in Java. Any experiences with this? Thanks |
2015-02-05 08:21:13 -0600 | asked a question | In Java: Any chance to get the xml of a CvDTree in a String (instead of a file) Hi, I'd like to save a CvRTrees object in a db-field (in java). However, the only way to get the XML structure seems to be saving it into a xml-file. Any suggestions how I can get a Tree (or Support Vector Machine) as a XML String without writing it into a file? Thanks |
2015-02-05 08:13:38 -0600 | commented question | Missing predict method in java class CvDTree Thanks, I implemented it with CvRTrees. |
2015-02-04 04:20:10 -0600 | asked a question | Missing predict method in java class CvDTree I'd like to use a decision tree for classification in java (using opencv 2.4.6) but the CvDTree is missing the predict method (same in the current version. See doc: http://docs.opencv.org/java/org/openc...). What is the reason for this? Any alternatives for classification? Random trees? |