Evaluation of performance fruit detection algorithm and training the algorithm
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am trying to find a way to evaluate the performance of my fruit detection algorithm. The detection of the fruit is currently done with the circular Hough transform. How can I compare this result with the original RGB image and therefore check if the detected fruit are a true positive or a false positive (to calculate the accuracy)? And how is it possible to train the algorithm?
I have added the original RGB image, the black-white image after preprocessing and the parameters of the CHT algorithm.
[centers,radii, metric] = imfindcircles(BW_Canny,[Rmin Rmax],'Sensitivity',0.95,'EdgeThreshold',0.15); % 0.95 0.15
% d = imdistline; %To check manually the approximate radius of the fruit in the image
viscircles(centers, radii,'EdgeColor','b');
For example for image 41, there are 3 true positives and 1 false positive.
1 commentaire
Réponses (1)
yanqi liu
le 11 Jan 2022
in object detect application,may be use evaluateDetectionPrecision to compare detect location and real location,such as
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/859020/image.jpeg)
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!