2494| 4
|
[已解决]小甲鱼的人脸识别 |
2鱼币
最佳答案img.shape得到一个三元元组 shape[0]是图片的高,shape[1]是图片的宽,shape[2]是图像通道数量
resize 中则是(img,(图像宽,图像高)),等比例缩放则需要将数值转化为整数
| ||
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
小甲鱼最新课程 -> https://ilovefishc.com
|
||
小黑屋|手机版|Archiver|鱼C工作室
( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)
GMT+8, 2025-6-27 10:22
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.