We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
def read_imgs(img_list): # 创建一个空列表用于存放读取的图片 frames = [] # 打印提示信息 print('reading images...') # 遍历图片路径列表 for img_path in tqdm(img_list): # 使用 OpenCV 的 imread 函数读取图片 frame = cv2.imread(img_path) # 将读取的图片添加到 frames 列表中 frames.append(frame) # 返回包含所有图片的列表 return frames 在进行这一步的会,内存炸了
The text was updated successfully, but these errors were encountered:
No branches or pull requests
def read_imgs(img_list):
# 创建一个空列表用于存放读取的图片
frames = []
# 打印提示信息
print('reading images...')
# 遍历图片路径列表
for img_path in tqdm(img_list):
# 使用 OpenCV 的 imread 函数读取图片
frame = cv2.imread(img_path)
# 将读取的图片添加到 frames 列表中
frames.append(frame)
# 返回包含所有图片的列表
return frames
在进行这一步的会,内存炸了
The text was updated successfully, but these errors were encountered: