Skip to content

Commit

Permalink
Added python fake camera
Browse files Browse the repository at this point in the history
  • Loading branch information
hanappe committed Mar 1, 2024
1 parent 9298dce commit bd6e0de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/romi/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,10 @@ def power_down(self):



class FakeCamera(RcomClient):
class FakeCamera():


def __init__(self, topic = 'camera', id = 'camera', file = 'test.jpg'):
super().__init__(topic, id)
self.image = Image.open(file)

def print_error(self, data):
Expand Down

0 comments on commit bd6e0de

Please sign in to comment.