fix: typo (#280)

This commit is contained in:
Makaveli 2020-11-11 07:12:00 +05:30 committed by GitHub
parent 983fba2763
commit 6adbe35a4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,7 +158,7 @@ class YoLov5TRT(object):
#  Save image
cv2.imwrite(save_name, image_raw)
def destory(self):
def destroy(self):
# Remove any context from the top of the context stack, deactivating it.
self.cfx.pop()
@ -317,5 +317,5 @@ if __name__ == "__main__":
thread1.start()
thread1.join()
# destory the instance
yolov5_wrapper.destory()
# destroy the instance
yolov5_wrapper.destroy()