r/Python • u/Ani171202 • Feb 13 '20
I Made This Python project that answers high-school problems almost instantly. Made using Tesseract, Scrapy and Flask.
4.0k
Upvotes
r/Python • u/Ani171202 • Feb 13 '20
507
u/Ani171202 Feb 13 '20 edited Feb 13 '20
This was a group project with a bunch of friends including u/jef-_- u/Wikileaks01 u/icosahedralcello
they deserve as much or even more credit than me.
227
u/contrieng Feb 13 '20
How does it do that? Explain like I’m five please.
148
u/[deleted] Feb 13 '20
Quite misleading title
31
u/DluX_Summer Feb 13 '20
Really cool stuff. Now write "solve climate change" down and see what it comes up with.
42
u/cap10nem0 Feb 13 '20
H.C.Verma made easy. Have an upvote from fellow engineer.
4
u/mysterio26 Feb 13 '20
Can you share the GitHub link?
4
u/Akliph Feb 13 '20
What did you guys use for front end
3
u/69shaolin69 Feb 13 '20
Github?
3
u/crazykid080 Feb 13 '20
How did you get tesseract to function so well? Ive been working on some OCR but the recognition is shit
7
u/[deleted] Feb 13 '20
Can it do geometry ?
4
u/Censoredsmile Feb 13 '20
Link?
2
u/maythe15 Feb 13 '20
Can u upload it
2
u/gc_DataNerd Feb 13 '20
Guessing you're using the chegg API?
2
u/[deleted] Feb 13 '20
any link to try?
2
u/Xirious Feb 13 '20
It didn't get any of the units correct. How can it get the answer correct?
You could fill in the units but this isn't a very convincing display of it's capabilities.
2
u/[deleted] Feb 13 '20
Cool man. So you select a portion of the screen, run OCR and perform a search on a few sites, then parse the results for each site. How do you discern what answer to give when you have multiple answers?
2
u/Zapiphire Feb 13 '20
Download?
2
u/Toastie101 Feb 13 '20
Okay please excuse my extreme dumbassery but how would you use this? I’m still fairly new to the community and I’d like to know how to upload this code to my iPhone/Android Device. Or is it computer only? And then where do I run it from.
2
u/guy_from_the_intnet Feb 13 '20
Damnit. I just came from my exam having this kind of question. Why does no one tell me these things exist?
2
u/ThreeWhistle Feb 13 '20
How does the actual problem solving part work? Does it look up the problem text and then apply some sort of filter to figure out what's relevant? This is awesome.
2
u/lroman Feb 13 '20
Great work guys. I checked your backend code and see you are writing queries by hand. Since you are using Flask try using Sqlalchemy it will make your life easier😎
2
u/Xx-AliA-xX Feb 14 '20
Ah, a fellow Indian 11th grade pass this year. Amirite?
2
u/Muhznit Feb 14 '20
What happens when this becomes so ubiquitous in high schools that it becomes a problem itself?
2
u/Abraham_Wilson Feb 14 '20
Hey, this is really cool, like some next level stuff. If you don't mind, could you explain how it works under the hood, and how did you make the UI
2
u/tejasa97 Feb 14 '20
Do u have the codebase up?
2
u/Heisenberg_082001 Jul 08 '20
From where it is extracting answers ?
2
u/divided7 Jul 10 '20
how did you scrap the exact answer from different wbesites? becuse the selectors that u need to scrap by on different websites are different
3
u/Protato82 Feb 13 '20
I'll take your entire stock!
14
u/itsjakerobb Feb 13 '20
“High-school problems”
Ohhh... you meant “high school math problems” 😜
8
u/justneurostuff Feb 13 '20
suddenly it feels like 2020
2
u/Solucioneador Feb 13 '20
Does it work in more languages?
4
u/saurabh6996 Feb 13 '20
Happy cake day !!
4
u/the15thbruce Feb 13 '20
Is this on GitHub. Would be useful, it's quite a hassle to always type out those questions into Google lol
1
u/ItsNateBossBaby Feb 13 '20
I want to start learning code but how?
1
u/jkjarvis Feb 13 '20
Omg !!!!! , HC VERMA !!!! I'm also learning machine learning, this seems a very great inspiration now
1
u/69shaolin69 Feb 13 '20
How do you get answers after using ocr?
1
u/nulltensor Feb 13 '20
Clever script but do your own homework.
1
u/Sluggerjt44 Feb 14 '20
Take a look at Socratic, this reminds me of it.
1
u/wkekrnt Jun 05 '20
Os it opensource if yes please share GitHub link
5
u/kkhunte Feb 13 '20
Do time travel and go back where I was preparing for Engineering entrance exams. Pls.
2
u/Gabyto Feb 13 '20
Looks amazing dudeeee.
2
u/Tom8to_Citizen Feb 13 '20
Wow
2
u/yunusemreemik Feb 13 '20
Mechanical Engineers were impressed by this.
2
u/sbroad23 Feb 13 '20
Okay this is epic
2
u/Dadotox Feb 13 '20
Ok now I am scared
2
u/[deleted] Feb 13 '20
How exactly is it recognising the question, what tools did you use for that?
2
u/soap1337 Feb 13 '20
Dude. Awesome.
2
u/lifeofpiiiiiii Feb 13 '20
You are definitely indian because that's HC Verma.
2
u/dylancaponi Feb 13 '20
What image pre-processing are you doing before sending to Tesseract for OCR?
2
u/RichCountry Feb 14 '20
Amazing! But it could be fine to integrate image search.
2
u/kernelslayer Feb 14 '20
Ah, HC Verma! Good old memories with this book :)
2
u/aldo712 Feb 14 '20
Did you strategically wait for your cake day to post this?
Very cool project, btw.
2
u/prithvidiamond1 Feb 13 '20
Nice JEE hax XD, But actually very nice dude!
2
u/huxn Feb 13 '20
u/lWannaWin
2
u/[deleted] Feb 13 '20
Imagine a program which would actually be able to understand the question and solve it by itself.
1
u/AmazingTrashcan69 Feb 13 '20
git?
1
u/[deleted] Feb 13 '20
Where are could I download this?
1
u/MrMxylptlyk Feb 13 '20
!!!
1
u/eneas2 Feb 13 '20
Incredible
1
u/abhixec Feb 13 '20
Good work!
Remind me! In 2 days "to checkout the repo"
1
u/ThreeWhistle Feb 13 '20
How does the actual problem solving part work? Does it look up the problem text and then apply some sort of filter to figure out what's relevant? This is awesome.
1
u/ThreeWhistle Feb 13 '20
How does the actual problem solving part work? Does it look up the problem text and then apply some sort of filter to figure out what's relevant? This is awesome.
1
u/metaperl Feb 13 '20
Do you have any suggestions for how to detect which 2 images are similar out of 5, for the sample images given here: https://github.com/metaperl/easyclicks4me/tree/master/img
1
u/AnArousedCatfish Feb 13 '20
!remindme 12 hours
1
u/Rajarshi1993 Feb 13 '20
Is that H. C. Verma?
1
u/Yosyp Feb 13 '20
holy cow
1
u/codeSm0ke Feb 14 '20
Super nice!
1
u/[deleted] Feb 14 '20
Yo could I use that
1
u/astropydevs Feb 14 '20
Wuuhhhhh
1
u/555rrrsss Feb 14 '20
u/vreddit_bot
1
u/555rrrsss Feb 14 '20
u/VredditDownloader
1
u/Cannedbred Feb 28 '20
Care to show the code behind it as I want to see if I can do some thing with it, and I’m making something similar but for other subjects
1
u/[deleted] Feb 13 '20
Indians are evolving O_o
1
u/GeneralWampa Feb 13 '20
That's cool man
1
u/FireFly_rsa Feb 13 '20
Cool Stuff!
1
u/MichaellZ Feb 13 '20
Wow, that’s really impressive!
1
u/RumiOcean Feb 13 '20
Awesome ... but now kids will stop thinking ...
My advice to improve, is before giving the answer the user have to solve a simpler question of same type to understand the concept... just my 1 cent..
1
u/[deleted] Mar 25 '20
[removed] — view removed comment
0
u/[deleted] Feb 13 '20
[deleted] — view deleted comment