Research Article

Enhancing Railway Maintenance Safety Using Open-Source Computer Vision

Table 1

Definition of precision and recall.

Ground truthPredict result
PositiveNegative

PositiveTP (true positive)FN (false negative)
NegativeFP (false positive)TN (true negative)