update software sim
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import imageio
|
||||
import numpy as np
|
||||
|
||||
cut_width = 700
|
||||
cut_height = 500
|
||||
cut_width = 1936
|
||||
cut_height = 1088
|
||||
|
||||
if __name__ == '__main__':
|
||||
# txt = open('./test.dat', 'w')
|
||||
|
@@ -1,10 +0,0 @@
|
||||
import imageio
|
||||
import numpy as np
|
||||
|
||||
im_width = 640
|
||||
im_height = 480
|
||||
|
||||
if __name__ == '__main__':
|
||||
raw = np.fromfile('./out.bin', dtype=np.int32)
|
||||
image = raw.reshape((im_height, im_width))
|
||||
imageio.imsave("./out.png", image)
|
Reference in New Issue
Block a user