摘要:
``` import asyncio async def coroutine(name, seconds): print(f'{name} 开始') await asyncio.sleep(seconds) print(f'{name} 结束') async def main(): tasks = 阅读全文
摘要:
python opencv无法编码h264、opencv编码的mp4视频无法在网页中播放,这好像是因为开源许可的协议不同,导致python opencv中没有内置h264的编码,无法以h264的格式保存视频。 所以我就直接使用webm格式的视频: ``` output_path = 'output_ 阅读全文