Fix screenshot inference (#4033)

single_channel
Glenn Jocher 1 year ago committed by GitHub
parent e346b59658
commit 99cb549efe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -156,7 +156,7 @@ class LoadScreenshots:
s = f'screen {self.screen} (LTWH): {self.left},{self.top},{self.width},{self.height}: ' s = f'screen {self.screen} (LTWH): {self.left},{self.top},{self.width},{self.height}: '
self.frame += 1 self.frame += 1
return str(self.screen), im0, None, s # screen, img, original img, im0s, s return [str(self.screen)], [im0], None, s # screen, img, vid_cap, string
class LoadImages: class LoadImages:

Loading…
Cancel
Save