cleared the input tensor after use

This commit is contained in:
Abhinav 2022-08-03 09:26:01 +05:30
parent f67219de55
commit 730341362e

View file

@ -52,6 +52,7 @@ class SSDMobileNetV2 implements ObjectDetectionService {
maxNumberBoxes,
minScore
);
tfImage.dispose();
return detections;
}