|
|
|
@ -68,6 +68,8 @@ if __name__ == "__main__":
|
|
|
|
process = subprocess.run(["/home/pi/ssdv/ssdv","-d","-J", "image_file", filename], text=True)
|
|
|
|
process = subprocess.run(["/home/pi/ssdv/ssdv","-d","-J", "image_file", filename], text=True)
|
|
|
|
print("\n\n RESULT: \n")
|
|
|
|
print("\n\n RESULT: \n")
|
|
|
|
print(process)
|
|
|
|
print(process)
|
|
|
|
|
|
|
|
print("\n\n process.stdout: \n")
|
|
|
|
|
|
|
|
print(process.stdout)
|
|
|
|
s = io.StringIO(process.stdout)
|
|
|
|
s = io.StringIO(process.stdout)
|
|
|
|
for line in s:
|
|
|
|
for line in s:
|
|
|
|
if ((line.find("Image ID:")) > 0):
|
|
|
|
if ((line.find("Image ID:")) > 0):
|
|
|
|
|