Skip to content

Commit 71b0d90

Browse files
authored
Update websocket_http_server.py
1 parent 42fe061 commit 71b0d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

websocket_http_server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def capture(device = "/dev/spidev0.0"):
3939
def save_image():
4040
while True:
4141
image = capture()
42-
im = plt.imsave("thermal.jpg", image.mean(2),cmap="jet")
42+
im = plt.imsave("thermal.jpg",np.fliplr(image.mean(2)),cmap="jet")
4343
def http_server():
4444
addr = socket.getaddrinfo(http_interface, http_port)[0][-1]
4545
s = socket.socket()

0 commit comments

Comments
 (0)