Skip to content

Commit

Permalink
predict: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 30, 2023
1 parent 3a14ab8 commit 3b58936
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/tensorflow-lite/src/detect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,3 @@ async def detectObjects(self, mediaObject: MediaObject, session: ObjectDetection
vf = await scrypted_sdk.mediaManager.convertMediaObjectToBuffer(mediaObject, ScryptedMimeTypes.Image.value)

return await self.run_detection_videoframe(vf, session)

def get_pixel_format(self):
return 'RGB'

0 comments on commit 3b58936

Please sign in to comment.