Skip to content

automatically log in and calculate GPA for students in southeast university (2020)

License

Notifications You must be signed in to change notification settings

wolverinn/seu_GPACalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seu_GPACalculator

automatically log in and calculate GPA for students in southeast university

自动登录SEU教务处,计算除选修课的课程的平均绩点

用法:

我写了两个版本:一个版本需要手动输入验证码,另一个版本可以使用神经网络自动识别验证码

不含验证码识别的版本

  1. 下载GPAcalc_manual.exe程序直接运行
  2. 下载GPAcalc_manual.py脚本,安装requests库和BeautifulSoup库后在python3环境下运行

含验证码识别的版本

可以使用GPAcalc.py脚本运行,需要以下依赖库:

  • torch
  • torchvision
  • requests
  • bs4

运行的时候需要将此脚本和jwc_model.pt放在同一目录下。

也可以直接下载GPAcalc.rar文件,解压之后在文件夹里找到GPAcalc.exe,然后运行。

关于教务处验证码识别

最初尝试的是使用Tesseract OCR 进行识别,但是准确率很低,只有不到30%,后来使用卷积神经网络进行识别,能达到90%的准确率。具体可以参考:

SEU-captcha-recognition: recognition of verification code in jwc.seu.edu.cn using CNN implemented with PyTorch

  • 没来得及完善的方面:
  1. 没有界面
  2. 效率方面还可以改进
  3. 没有计算出国绩点的功能

其他,欢迎 pull-request...

About

automatically log in and calculate GPA for students in southeast university (2020)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages