I would like to ask about this function in OpenCV:
cvTermCriteria( CV_TERMCRIT_ITER | CV_TERMCRIT_EPS, 20, .3 )
How do I get more accurate results - do I need to increase the value of epsilon or decrease it?
I would like to ask about this function in OpenCV:
cvTermCriteria( CV_TERMCRIT_ITER | CV_TERMCRIT_EPS, 20, .3 )
How do I get more accurate results - do I need to increase the value of epsilon or decrease it?
This termination criteria tells the algorithm to stop when it has either done
20 iterations or when epsilon is greater than .3. You can play with these parameters for speed vs accuracy but these values work pretty well in many situations.
So if you want to improve accuracy then you will get more accurate value with more iterations but the time taken for doing such iterations will be improved , I mean speed will be reduced.