Exemple #1
0
def test_evaluate_no_detections():
    evaluator = ObjectAreaEvaluator()
    result = evaluator.evaluate(kGroundTruth, list())
    assert result == (0., 0., (0., 0.), (0., 5.))
def test_evaluate():
	evaluator = ObjectAreaEvaluator()
	result = evaluator.evaluate(kGroundTruth, kDetected)
	assert result == (0.5714285714285714, 0.8, (4.0, 7.0), (4.0, 5.0))
Exemple #3
0
def test_evaluate():
    evaluator = ObjectAreaEvaluator()
    result = evaluator.evaluate(kGroundTruth, kDetected)
    assert result == (0.5714285714285714, 0.8, (4.0, 7.0), (4.0, 5.0))
def test_evaluate_no_detections():
	evaluator = ObjectAreaEvaluator()
	result = evaluator.evaluate(kGroundTruth, list())
	assert result == (0., 0., (0., 0.), (0., 5.))