We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42fe061 commit 71b0d90Copy full SHA for 71b0d90
websocket_http_server.py
@@ -39,7 +39,7 @@ def capture(device = "/dev/spidev0.0"):
39
def save_image():
40
while True:
41
image = capture()
42
- im = plt.imsave("thermal.jpg", image.mean(2),cmap="jet")
+ im = plt.imsave("thermal.jpg",np.fliplr(image.mean(2)),cmap="jet")
43
def http_server():
44
addr = socket.getaddrinfo(http_interface, http_port)[0][-1]
45
s = socket.socket()
0 commit comments