From 29e4d0d8bba6dd0a3f61c05a36d11e464bdc8e04 Mon Sep 17 00:00:00 2001 From: Dimitrii Date: Thu, 28 Jan 2021 14:20:38 +0300 Subject: [PATCH] clean --- detection.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/detection.go b/detection.go index 46ba424..7c92453 100644 --- a/detection.go +++ b/detection.go @@ -25,12 +25,6 @@ type DetectionResult struct { OverallTimeTaken time.Duration } -// func (dr *DetectionResult) Close() error { -// C.free_detections(dr.Detections, len(dr.Detections)) -// dr.Detections = nil -// return nil -// } - func makeDetection(img *DarknetImage, det *C.detection, threshold float32, classes int, classNames []string) *Detection { if det == nil { return &Detection{}