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
[GIA] 委托脚本编写教程与演示 按照上边的视频里操作的, 开始播放视频按a,选择ID,这一步正常。关键的是在按下“]”键之后会自动暂停,提示“press any key to continue.”,再按空格就报错了。我需要怎么解决这个问题?
附视频
The text was updated successfully, but these errors were encountered:
在报错的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) 算是临时解决了,水平不够不清楚自己哪里搞错了= =
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)
Sorry, something went wrong.
感觉像是bug? source\map\detection\minimap.py里area = area_pad(get_bbox(image, threshold=128), pad=-1)这一行中, 根据参数threshold推测想要调用source\device\alas\utils.py里的get_bbox(image, threshold=0)
source\map\detection\minimap.py
threshold
source\device\alas\utils.py
get_bbox(image, threshold=0)
但get_bbox()这个函数被这句from source.util import *导入的同名函数顶掉了 所以去调用了source\util.py里的get_bbox(image, black_offset=15)导致报错
get_bbox()
from source.util import *
source\util.py
get_bbox(image, black_offset=15)
fix: renamed function "get_bbox" conflict #151
62f3a1f
修了~
infstellar
No branches or pull requests
[GIA] 委托脚本编写教程与演示
![pic_2024-03-17_15-11-47](https://private-user-images.githubusercontent.com/28773469/313452412-78d38ed2-3d2a-43d4-834d-40a72a87ec25.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNjk2MDMsIm5iZiI6MTcyMjE2OTMwMywicGF0aCI6Ii8yODc3MzQ2OS8zMTM0NTI0MTItNzhkMzhlZDItM2QyYS00M2Q0LTgzNGQtNDBhNzJhODdlYzI1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI4VDEyMjE0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI0NjhmNDNlMjY4NGUyMzllNDZkOGE1OGE0MGViMWVhMThhYTM4ZjlkYmIzYWRjYmU1ZDU2NWViY2I2ODM4MmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ltzDr_sk0hgKllsJpbBVz6FX-1i5l4bGSu85Jx0I71E)
按照上边的视频里操作的,
开始播放视频按a,选择ID,这一步正常。关键的是在按下“]”键之后会自动暂停,提示“press any key to continue.”,再按空格就报错了。我需要怎么解决这个问题?
附视频
2024-03-17.15-04-34.mp4
The text was updated successfully, but these errors were encountered: