Giter Site home page Giter Site logo

ifsolver's People

Contributors

camberloid avatar kastakhov avatar konano avatar leedagee avatar metlee avatar skimige avatar yukarichiba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ifsolver's Issues

Up side down result

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?

Portal name with "," symbol

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

untitled portal是没有url的,所以需要判断一下url是否==“”,不然会raise一个Invalid URL异常

IndexError: list index out of range

用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

It's time to say goodbye!

随着最后一场发牌子的 IFS@Home 的结束,本仓库已经完成了它的历史使命。宅家里参加 IFS 的时代已经成为了过去,是时候出门了。

本仓库将在不久后被归档,感谢三年以来所有用户与开发者的支持!

Failed on latest puzzles

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.