0
$\begingroup$

I'm working on project for the Autonomous vehicle, and i want to know what's confidence level means and how can we use confidence level for vehicle detection in OpenCV ?

$\endgroup$
3
$\begingroup$

Statistical confidence is most often defined in terms of a score that is the number of standard deviations away from the mean.

Now let's say you have a set of states (a state vector) used to define an object recognized using image processing in OpenCV (for example, RGB data, HSV data, filter responses, etc.). Given a series of training images for vehicles, you can compute the mean and covariance of their state vectors. If you then consider some new object being tested, you can compute what is known as the Mahalanobis distance between the new object's state vector and the vehicle state vector. This distance will essentially be the statistical confidence that the new object is a vehicle.

In fact, OpenCV has functions available to compute things like the covariance matrix and the Mahalanobis distance.

$\endgroup$
  • $\begingroup$ Note that this is only one example of how to classify an object based on statistical confidence. There are many algorithms that have a probabilistic basis. For example, you may also want to consider using a Bayesian network. $\endgroup$ – Brian Lynch Oct 16 '15 at 9:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.