Pause the classification

asked 2016-01-12 03:58:32 -0600

Corto gravatar image

Hi all, I have a question, i have build a signal road classificator for the test phase i must pause it for change image and create a confusion matrix. How work my classificator? When it sees a signal tells me what kind of signal is drow a rectangle around it and go to increase a counter. Now i must pause it for change image, i try whit Thread.pause but it's realy bad, can someone help me? Thanks.

edit retag flag offensive close merge delete

Comments

Like this, no. What is your classifier (SVM, NN, ...)? What do you mean by stop it and change the image? It is not a code that runs on input images? Did you trained it or you have just arrived on the code?

thdrksdfthmn gravatar imagethdrksdfthmn ( 2016-01-12 06:58:27 -0600 )edit

It's Haar cascade. I mean pause the classification, just for a min, change image. I trained the classificator and i create an android app and it use the .xml file and with JavaCameraView i see the image and classificate it. I wanna pause it when it classificate one of this.

Corto gravatar imageCorto ( 2016-01-12 09:34:38 -0600 )edit

You are using a Haar cascade to classify an image?? I do not get it. The cascade detects objects (road in your case)... It runs continuously so you do not need to pause it, you just change the input video and it detects on the new one. If yo want to train another cascade, then just do it. help

thdrksdfthmn gravatar imagethdrksdfthmn ( 2016-01-12 10:07:02 -0600 )edit