Ask Your Question

joshua_jorel_lee's profile - activity

2014-08-29 11:55:21 -0500 commented question CvMlData Class Missing

Oh I see. So what you're suggesting is to just read the csv file from Java then transfer it to a matrix? Well, that would simplify things a lot. I'm not sure why I didn't think of that. Thanks! :D

2014-08-29 11:46:10 -0500 commented question CvMlData Class Missing

berak - no worries. So there's really no way to import a csv file into a matrix? I'm not really good with C++, so I'm not quite sure what to make of the documentation. It's actually my first time using it.

StevenPuttemans - I'm using the old 2.4.9 API. I'm not really sure how it's used though.

2014-08-29 08:30:34 -0500 commented question CvMlData Class Missing

Update: There is no wrapper for this class in Java.

2014-08-29 08:23:59 -0500 received badge  Editor (source)
2014-08-29 08:23:32 -0500 asked a question CvMlData Class Missing

I recently installed OpenCV for use with Java on my Mac. I need to import a csv file to a matrix. However, I can't seem to find the CvMlData class where it contains the method read_csv. I have also installed OpenCV for Android and even there, CvMlData seems to be missing. Does anybody know where it can be found?

2014-08-29 04:51:37 -0500 commented question Weka Model to OpenCV Compatible SVM Model

I see. That is disappointing. I know that this would be a different topic, but do you know if OpenCV can process a CSV file containing my training set? That would shorten my development time.

2014-08-29 04:22:19 -0500 asked a question Weka Model to OpenCV Compatible SVM Model

Since OpenCV's implementation of SVM is based on LibSVM, I was wondering if the model produced by Weka can somehow be imported by CvSVM. After checking the documentation, CvSVM has a 'load' method. However, it only accepts XML based files. If I were to export a model from Weka in XML, would it be compatible if ever with OpenCV? Has anyone done this sort of thing before?

Just a little background: I'm creating an Android application that will use OpenCV's CvSVM. I already have the SVM model trained in Weka.

2014-08-28 01:07:27 -0500 commented question SVM Training Parameters to OpenCV

Thanks! Just saw the documentation the other day. Really helpful!

2014-08-26 09:00:47 -0500 asked a question SVM Training Parameters to OpenCV

I am creating an Android application that will use OpenCV, specifically its SVM feature. I have a prototype of my application in MATLAB wherein I have already pre-processed multiple images and saved the output values in a csv file and had weka train my SVM classifier. I am porting my code now to Android and I seem to have hit a road bump. Do I have to train the classifier within my OpenCV code? Or can I just input the model parameters and have it predict my outputs? (I take a picture and SVM will automatically classify what kind of image is it.)

I'm reluctant to perform training on my Android device since doing so would be time consuming and I have a deadline to meet. So is it possible to just enter the model parameters in my Android application and it will predict the output? Or if ever I do retrain my classifier in the device, can I use the CSV file I have previously used?