uestc-ingress / ifsolver Goto Github PK
View Code? Open in Web Editor NEWIngress First Saturday Passcode Solver
License: GNU Affero General Public License v3.0
Ingress First Saturday Passcode Solver
License: GNU Affero General Public License v3.0
It just shown nothing after print 「[IFSolver] Splitting Images」
MacOS 11.0.1
python 3.7.6
Tried on our IFS puzzle, works really well except we figured out the output(result_full.png) is up side down.
Can anyone reproduce this problem?
不然会FileNotFoundError
也可以在readme里要用户自建
Hi, if portal name have a "," symbol, then when open csv as a dict we have somewhere poor values of keys .
As example:
"\"%u0414%u043E%u043C %u0437%u043D%u0430%u043D%u0438%u0439\"(%u0432%u0435%u0441-6%u0442,%u0432%u044B%u0441%u043E%u0442%u0430-8%u043C,",50.416658,30.559957,""
"%u0411%u0435%u0441%u0435%u0434%u043A%u0430 %u0421%u0430%u0434%u0430",50.416126,30.559077,"http://lh3.googleusercontent.com/4v2szW4uGbU_lqzBWIk0lv5yotzmG1BS_uMpXN6Sdm4AP_Vm0Ww1iB8vTocNBsI5BGjlN8IHMDs0sRQBxEblITaC5rI"
when we parse it, we get:
OrderedDict([('Name', '%u0414%u043E%u043C %u0437%u043D%u0430%u043D%u0438%u0439(%u0432%u0435%u0441-6%u0442'), ('Latitude', '%u0432%u044B%u0441%u043E%u0442%u0430-8%u043C'), ('Longitude', ',50.416658,30.559957,"\n%u0411%u0435%u0441%u0435%u0434%u043A%u0430 %u0421%u0430%u0434%u0430"'), ('Image', '50.416126'), (None, ['30.559077', 'http://lh3.googleusercontent.com/4v2szW4uGbU_lqzBWIk0lv5yotzmG1BS_uMpXN6Sdm4AP_Vm0Ww1iB8vTocNBsI5BGjlN8IHMDs0sRQBxEblITaC5rI']), ('id', 4013)])
untitled portal是没有url的,所以需要判断一下url是否==“”,不然会raise一个Invalid URL异常
用mac设备和windows设备都复现了,报错完全一致,除了Total Keys的数量不一样。
Windows Python 3.8.4 opencv 3.4.11.43
Mac Python 3.9.1 opencv 2.4.13.7
Traceback (most recent call last):
File "/Users/mac/IFSolver/main.py", line 117, in
main_manual()
File "/Users/mac/IFSolver/main.py", line 107, in main_manual
compared_portals = main_fast_cmp(splitted_img, portal_list, dlist, imgpos)
File "/Users/mac/IFSolver/main.py", line 70, in main_fast_cmp
pname, lat, lng, valid = cmpImage(
File "/Users/mac/IFSolver/CmpUtils.py", line 28, in cmpImage
print("Matches: " + str(pic_match[0]["matches"]))
IndexError: list index out of range
Traceback (most recent call last):
File "main.py", line 117, in
main_manual()
File "main.py", line 107, in main_manual
compared_portals = main_fast_cmp(splitted_img, portal_list, dlist, imgpos)
File "main.py", line 70, in main_fast_cmp
pname, lat, lng, valid = cmpImage(
File "C:\Users\Portal\Desktop\IFSolver\CmpUtils.py", line 28, in cmpImage
print("Matches: " + str(pic_match[0]["matches"]))
IndexError: list index out of range
随着最后一场发牌子的 IFS@Home 的结束,本仓库已经完成了它的历史使命。宅家里参加 IFS 的时代已经成为了过去,是时候出门了。
本仓库将在不久后被归档,感谢三年以来所有用户与开发者的支持!
As the new puzzle cancels the gap between the image rows, it is difficult to segment the image.
Consider matching directly with the entire image. (WIP)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.