python读取yuv
import PILimport numpy as npfrom PIL import Imagedef readYuvFile(filename,width,height): fp=open(filename,'rb') uv_width=width//2 uv_height=height//2 Y=np.zeros((height,width),n...