[help wanted 需要帮助] dev-tool中video2path.py运行报错
Closed this issue · 3 comments
1004452714 commented
[GIA] 委托脚本编写教程与演示
按照上边的视频里操作的,
开始播放视频按a,选择ID,这一步正常。关键的是在按下“]”键之后会自动暂停,提示“press any key to continue.”,再按空格就报错了。我需要怎么解决这个问题?
附视频
2024-03-17.15-04-34.mp4
1004452714 commented
在报错的minimap.py里添加了一行
from source.device.alas import utils as UTS
把报错的这行
area = area_pad(get_bbox(image, threshold=128), pad=-1)
改成
area = area_pad(UTS.get_bbox(image, threshold=128), pad=-1)
算是临时解决了,水平不够不清楚自己哪里搞错了= =
1004452714 commented
infstellar commented
修了~