def load_raw(file_path):
rawImg = np.fromfile(file_path, dtype=np.uint16)
rawImg = rawImg.reshape(640, 540)
return rawImg
load_raw(ir_path)#ir_path为raw图的路径
Read raw file
Guess you like
Origin blog.csdn.net/qq_35037684/article/details/113529690
Ranking