From 0aed6129adba31b94b72f1ade781379e80b72b52 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 6 Feb 2025 16:20:13 -0500 Subject: [PATCH] Update fc_block_decode.py convert bin to jpeg --- groundstation/fc_block_decode.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/groundstation/fc_block_decode.py b/groundstation/fc_block_decode.py index 61aba0b3..660c8b4f 100644 --- a/groundstation/fc_block_decode.py +++ b/groundstation/fc_block_decode.py @@ -61,7 +61,9 @@ if __name__ == "__main__": print("File error") else: print("End of image") - system("sudo mv image_file image_file" + str(image_count)) +# system("sudo mv image_file image_file" + str(image_count)) + system("home/pi/ssdv/ssdv -d -J image_file image_file" + str(image_count) + ".jpeg") + system("sudo rm image_file") print("Image count: ") print(image_count) image_count = (image_count + 1) % 256