INNER CODE UNIT · Python
k
andrewssobral/bgslibrary · tools/fet/fet.py:79
k = k + 1
#break
cv2.destroyAllWindows()
Recall = TP / (TP + FN)
Precision = TP / (TP + FP)
Fscore = 2*Precision*Recall/(Precision+Recall)
print('Score:')
print('TP: ', TP)
print('FP: ', FP)
print('TN: ', TN)
print('FN: ', FN)
print('Recall: ', Recall)
print('Precision: ', Precision)
print('Fscore: ', Fscore)
print('')