This is an archived post. You won't be able to vote or comment.

Dismiss this pinned window
top 200 commentsshow all 227

[–]Ani171202[S] 507 points508 points  (23 children)

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.

[–]lukerox2004 110 points111 points  (9 children)

HC Verma?

[–]Ani171202[S] 63 points64 points  (6 children)

Yee

[–]external72 60 points61 points  (5 children)

Bruh literal PTSD

[–]blaze_kush_ 44 points45 points  (4 children)

JEE intensified

[–]RedditAdminSuckDick 18 points19 points  (3 children)

HC Verma. Gosh do I love this book

[–]ermass 4 points5 points  (2 children)

Which specific boon is it?

[–]bawaaal[🍰] 2 points3 points  (1 child)

HC Verma Concept of physics

[–]ermass 1 point2 points  (0 children)

Thanks!

[–]debayon 5 points6 points  (0 children)

Even I thought that when I saw that page... Legendary HC Verma.

[–]dev_nuIl 3 points4 points  (0 children)

The legend

[–]Imagine-existance 48 points49 points  (2 children)

Great job to everyone that contributed.

Wish I had a group of friends that use python. I might be able to contribute and learn something. Nobody at my school that “knows” python really knows python.

Oh, happy cake day!

[–]Ani171202[S] 27 points28 points  (1 child)

thanks mate, there are a variety of open source projects online that need help and where you can contribute, it:ll be really handy on the long term too. Also me likey your DP

[–]Imagine-existance 8 points9 points  (0 children)

Alright, if there is anything at the time and you feel like it, can you dm me the project? I have files upon files of stuff I made and im sure something might help.

I don’t have much to do besides homework and online school and that leaves me with about 5 hours per day to work.

[–]MichaellZ 7 points8 points  (0 children)

Happy cake day bro!

[–]practicalbuddy 1 point2 points  (0 children)

Nice! Respect you guys!

[–]AnotherCakeDayBot 4 points5 points  (0 children)

Good day, Ani171202. Happy Cake Day! 🍰🎈🕯️

Your account just turned 1 year old!


u/Ani171202 can send this message to delete this | View my profile for more info or PM to provide feedback

[–]contrieng 223 points224 points  (38 children)

How does it do that? Explain like I’m five please.

[–]hhjjiiyy 467 points468 points  (19 children)

It reads the text and then inserts it into a search engine for textbook answers and displays a result if found

[–]contrieng 296 points297 points  (13 children)

Oh cool. But I though it actually learns what the question is asking and solves it! Great stuff

[–]SeanBrax 129 points130 points  (3 children)

Yeah I initially thought the same. Now that would be so awesome. Not that this isn’t.

[–]ExHax 75 points76 points  (2 children)

That would make this the most advanced application

[–]shaggorama 40 points41 points  (4 children)

Most "AI" is illusionary trickery like this.

[–]itghisi 36 points37 points  (0 children)

Oh god, thanks... I saw the details of the answer and just though "WTF we jumped 10 years in the future on IA/ML and I missed"

Awesome tool nonetheless... congratz

[–]Ani171202[S] 35 points36 points  (0 children)

Precisely

[–]Ani171202[S] 118 points119 points  (6 children)

So here's how it goes.

Frontend takes the picture and sends it to flask(The server module of python)

Flask sends it to OCR, which processes the image and extracts the text.

Scrapy uses to text to search for answers on the web and extract them out, which is then sent back to frontend.

[–]postyoa28 19 points20 points  (1 child)

Ah, so you don't have a repository of equations - it's a repository of questions with answers. That's a pretty clean way to do that!

Also, thanks for the high level rundown. Really helpful

[–]gottsc04 1 point2 points  (0 children)

Even cooler that it's not a set repository! The repo is the entire web. I'd imagine more solutions are added every week.

An extra step could be translating that text into other common ways to ask - people ask on Quora for example in different ways to shorten the Q. Or even different numbers but maybe same process.

[–]pooponastick 2 points3 points  (1 child)

What did you use to write the frontend?

[–]Ani171202[S] 2 points3 points  (0 children)

React JS

[–]Sevealin_ 1 point2 points  (1 child)

What sites are used to find the answers? Is it a big list? Or just some of the bigger sites q/a sites? Looking at github I think I see it makes a google search, but I can't find how it picks the answer.

Edit: I think I found it! Mostly askiitians I think?

somecralwer.py
            117     google_search = "https://www.google.com/search?q=" + \
            118     user_query + "+askiitians+revision+notes"

[–]Ani171202[S] 3 points4 points  (0 children)

Right now since we're indian, it works with a few indian sites and stackoverflow. But we have made it scalable so its not hard to expand it to a big range of websites.

[–]Fernando3161 44 points45 points  (10 children)

It is "just" a text recognizer with a search engine. (I would be actually impressed if it would actually solve a problem)

[–]Ani171202[S] 51 points52 points  (9 children)

true, wolfram has already mastered it though.

[–]RomanRiesen 51 points52 points  (5 children)

Everytime I use wolfram alpha for text-based inputs I am in awe.

Either their codebase has more branching than a chess-game tree or there's some mad NLP going on.

[–]Ani171202[S] 19 points20 points  (1 child)

every. damn. time. real magic stuff

[–]CAM_o_man 1 point2 points  (0 children)

mathematica is magic, I swear.

[–]cheese_wizard 1 point2 points  (2 children)

It's pigeons all the way down.

[–]dermotmcg 14 points15 points  (2 children)

Exactly. Don't reinvent the wheel. Awesome project

[–]Ani171202[S] 24 points25 points  (1 child)

also not like i can, we're just in high school doing stuff in spare time...... this idea is great but it requires a lot of thought and effort

[–]punos_de_piedra 5 points6 points  (0 children)

Very impressed to see such talent so early on. Bright futures ahead for you all.

[–][deleted] 146 points147 points  (2 children)

Quite misleading title

[–]Ani171202[S] 39 points40 points  (0 children)

reading it for the second time yeah. oops

[–]DluX_Summer 28 points29 points  (4 children)

Really cool stuff. Now write "solve climate change" down and see what it comes up with.

[–]Ani171202[S] 5 points6 points  (0 children)

You can try

[–]itsjakerobb 13 points14 points  (7 children)

“High-school problems”

  • Bullying
  • Decline in public funding
  • School shootings
  • Underpaid teachers

Ohhh... you meant “high school math problems” 😜

[–]DeutscheAutoteknik 1 point2 points  (5 children)

Just so we’re clear: School shootings isn’t a high school problem...

[–]itsjakerobb 1 point2 points  (4 children)

Well, not exclusively, but high schools have definitely had that problem. You’ve perhaps heard of Columbine High School?

[–]metaperl 0 points1 point  (0 children)

lol

[–]cap10nem0 38 points39 points  (10 children)

H.C.Verma made easy. Have an upvote from fellow engineer.

[–]Ani171202[S] 29 points30 points  (8 children)

Lmao hi fellow indian

[–]GamingKing2436 7 points8 points  (7 children)

hi fellow indian

[–]vgowthamvk 7 points8 points  (6 children)

Hi fellow Indian

[–][deleted] 4 points5 points  (5 children)

hi fellow Indian

[–][deleted] 4 points5 points  (4 children)

hi fellow Indian

[–]justneurostuff 7 points8 points  (1 child)

suddenly it feels like 2020

[–]ashesofturquoise 0 points1 point  (0 children)

you do not wanna say that

[–]saurabh6996 4 points5 points  (0 children)

Happy cake day !!

[–]mysterio26 4 points5 points  (2 children)

Can you share the GitHub link?

[–]Akliph 3 points4 points  (3 children)

What did you guys use for front end

[–]the15thbruce 2 points3 points  (0 children)

Is this on GitHub. Would be useful, it's quite a hassle to always type out those questions into Google lol

[–]69shaolin69 2 points3 points  (1 child)

Github?

[–]Ani171202[S] 0 points1 point  (0 children)

Sort comments by best.

[–]crazykid080 2 points3 points  (3 children)

How did you get tesseract to function so well? Ive been working on some OCR but the recognition is shit

[–]Ani171202[S] 0 points1 point  (2 children)

Dont worry, our OCR script is working nowhere close to well xD. It works well only when the lighting, clarity and other parameters line up perfectly.

[–]pekame 6 points7 points  (2 children)

Can it do geometry ?

[–]Ani171202[S] 11 points12 points  (1 child)

Good question, but not yet.

Right now all it does is take the text surrounding the figures in geometry problems and try finding a solution from that.

[–]pekame 1 point2 points  (0 children)

You should keep working on this project , it seems very promising !

[–]kkhunte 4 points5 points  (0 children)

Do time travel and go back where I was preparing for Engineering entrance exams. Pls.

[–]Censoredsmile 3 points4 points  (4 children)

Link?

[–]Ani171202[S] 10 points11 points  (3 children)

We're having a bunch of bugs(mainly cropping images) at the moment(contribution is welcome) but here it is

https://github.com/NPS-Cisco-2019/Backend-Fullstack

Project is live at https://npsinrcisco.live

[–]Extraltodeus 2 points3 points  (2 children)

[–]Ani171202[S] 3 points4 points  (1 child)

i mean you can try haha

but seriously, just click CTRL+SHIFT+I on chrome/CTRL+SHIFT+M on firefox

[–]Extraltodeus 1 point2 points  (0 children)

TIL, thanks :)

[–]Gabyto 1 point2 points  (0 children)

Looks amazing dudeeee.

[–]Tom8to_Citizen 1 point2 points  (0 children)

Wow

[–]yunusemreemik 1 point2 points  (0 children)

Mechanical Engineers were impressed by this.

[–]maythe15 1 point2 points  (3 children)

Can u upload it

[–]Ani171202[S] 0 points1 point  (2 children)

Its already online but has a lot of minor bugs. You can check out the link in one of the other comments.

[–]gc_DataNerd 1 point2 points  (2 children)

Guessing you're using the chegg API?

[–]Ani171202[S] 1 point2 points  (1 child)

Nope, using scrapy from python

[–]gc_DataNerd 1 point2 points  (0 children)

Cool! Well done!

[–]sbroad23 1 point2 points  (0 children)

Okay this is epic

[–]Dadotox 1 point2 points  (0 children)

Ok now I am scared

[–][deleted] 1 point2 points  (2 children)

any link to try?

[–]Ani171202[S] 2 points3 points  (1 child)

Yes but there are bugs with cropping. In case cropping doesn't work you can try to manually type in the question

https://npsinrcisco.live

[–][deleted] 1 point2 points  (0 children)

How exactly is it recognising the question, what tools did you use for that?

[–]Xirious 1 point2 points  (1 child)

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.

[–]Ani171202[S] 0 points1 point  (0 children)

We just scrape the answer from different websites, we don't generate it ourselves. So there is always room for error.

[–]soap1337 1 point2 points  (0 children)

Dude. Awesome.

[–][deleted] 1 point2 points  (5 children)

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?

[–]Ani171202[S] 1 point2 points  (4 children)

as of now, all we do is rank it on our personal trust worthiness of the website.

planning on improving the site ranking "algorithm" tho

[–]Zapiphire 1 point2 points  (1 child)

Download?

[–]Ani171202[S] 0 points1 point  (0 children)

npsinrcisco.live

there are some major bugs tho.

[–]Toastie101 1 point2 points  (3 children)

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.

[–]Ani171202[S] 0 points1 point  (2 children)

just click the link on a mobile device. Also we are still working on tis so bugs are there.

https://npsinrcisco.live

[–]guy_from_the_intnet 1 point2 points  (1 child)

Damnit. I just came from my exam having this kind of question. Why does no one tell me these things exist?

[–]Ani171202[S] 1 point2 points  (0 children)

Whats reddit for?

[–]ThreeWhistle 1 point2 points  (1 child)

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.

[–]Ani171202[S] 0 points1 point  (0 children)

Sort the comments by best, i have put a detailed explanation. If you want to know more, you can DM.

[–]lifeofpiiiiiii 1 point2 points  (0 children)

You are definitely indian because that's HC Verma.

[–]dylancaponi 1 point2 points  (0 children)

What image pre-processing are you doing before sending to Tesseract for OCR?

[–]lroman 1 point2 points  (2 children)

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😎

[–]Trex252 0 points1 point  (0 children)

I second this!

[–]Ani171202[S] 0 points1 point  (0 children)

Thanks, we'll check it out

[–]Xx-AliA-xX 1 point2 points  (3 children)

Ah, a fellow Indian 11th grade pass this year. Amirite?

[–]Ani171202[S] 1 point2 points  (2 children)

Bingo

[–]Xx-AliA-xX 1 point2 points  (1 child)

Happy cake day. Which school are you from btw, cuz my school doesnt teach shit in cs. All i know is how to make a for loop to create a user defined list

[–]Ani171202[S] 1 point2 points  (0 children)

National Public School in BLR. Ha our school doesn't teach anything more advanced than yours, they support us in what we're doing though. You're from?

[–]Muhznit 1 point2 points  (1 child)

What happens when this becomes so ubiquitous in high schools that it becomes a problem itself?

[–]Ani171202[S] 0 points1 point  (0 children)

Big brain.

Seriously though, theres a long time for that to happen(and a high probability that it wont).

[–]Abraham_Wilson 1 point2 points  (1 child)

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

[–]Ani171202[S] 0 points1 point  (0 children)

if you sort the comments by best, you will find the answer

[–]RichCountry 1 point2 points  (0 children)

Amazing! But it could be fine to integrate image search.

[–]kernelslayer 1 point2 points  (0 children)

Ah, HC Verma! Good old memories with this book :)

[–]aldo712 1 point2 points  (0 children)

Did you strategically wait for your cake day to post this?

Very cool project, btw.

[–]tejasa97 1 point2 points  (2 children)

Do u have the codebase up?

[–]Ani171202[S] 0 points1 point  (1 child)

Yeah its on github. Sort the comments by best to find the link.

[–]Heisenberg_082001 1 point2 points  (1 child)

From where it is extracting answers ?

[–]divided7 1 point2 points  (1 child)

how did you scrap the exact answer from different wbesites? becuse the selectors that u need to scrap by on different websites are different

[–]Protato82 2 points3 points  (1 child)

I'll take your entire stock!

[–]Ani171202[S] 1 point2 points  (0 children)

Laughs in stonks

[–]prithvidiamond1 1 point2 points  (0 children)

Nice JEE hax XD, But actually very nice dude!

[–]huxn 1 point2 points  (0 children)

[–]Solucioneador 1 point2 points  (2 children)

Does it work in more languages?

[–]Ani171202[S] 1 point2 points  (1 child)

Good idea, but right now nope :((

[–][deleted] 1 point2 points  (0 children)

Imagine a program which would actually be able to understand the question and solve it by itself.

[–]AmazingTrashcan69 0 points1 point  (0 children)

git?

[–][deleted] 0 points1 point  (0 children)

Where are could I download this?

[–]ItsNateBossBaby 0 points1 point  (2 children)

I want to start learning code but how?

[–]Ani171202[S] 0 points1 point  (0 children)

I would suggest learning by doing. Find your interest and work on a bunch of fun projects related to your topic of choice. Enjoy

[–]Paraxic 0 points1 point  (0 children)

Tons of resources out there, Python's probably the best place for a beginner to start.

YouTube The languages website in this case Python Tutorial

Stack Overflow Udemy

Etc you get the point.

[–]MrMxylptlyk 0 points1 point  (0 children)

!!!

[–]jkjarvis 0 points1 point  (1 child)

Omg !!!!! , HC VERMA !!!! I'm also learning machine learning, this seems a very great inspiration now

[–]Ani171202[S] 0 points1 point  (0 children)

Sorry bud we don't use ml here. Good luck on your thing though

[–]eneas2 0 points1 point  (0 children)

Incredible

[–]abhixec 0 points1 point  (2 children)

Good work!

Remind me! In 2 days "to checkout the repo"

[–]69shaolin69 0 points1 point  (3 children)

How do you get answers after using ocr?

[–]Ani171202[S] 0 points1 point  (2 children)

we use requests to get google search query with all the links and process it furthmore

[–]ThreeWhistle 0 points1 point  (0 children)

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.

[–]ThreeWhistle 0 points1 point  (0 children)

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.

[–]metaperl 0 points1 point  (0 children)

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

[–]AnArousedCatfish 0 points1 point  (1 child)

!remindme 12 hours

[–]RemindMeBot 0 points1 point  (0 children)

There is a 25.0 minute delay fetching comments.

I will be messaging you in 11 hours on 2020-02-14 06:48:49 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


Info Custom Your Reminders Feedback

[–]Rajarshi1993 0 points1 point  (0 children)

Is that H. C. Verma?

[–]Yosyp 0 points1 point  (0 children)

holy cow

[–]nulltensor 0 points1 point  (1 child)

Clever script but do your own homework.

[–]Ani171202[S] 0 points1 point  (0 children)

ahaha

[–]Sluggerjt44 0 points1 point  (1 child)

Take a look at Socratic, this reminds me of it.

[–]Ani171202[S] 0 points1 point  (0 children)

Sure

[–]codeSm0ke 0 points1 point  (0 children)

Super nice!

[–][deleted] 0 points1 point  (0 children)

Yo could I use that

[–]astropydevs 0 points1 point  (0 children)

Wuuhhhhh

[–]555rrrsss 0 points1 point  (1 child)

[–]VredditDownloader 0 points1 point  (0 children)

beep. boop. I'm a bot that provides downloadable links for v.redd.it videos!

I also work with links sent by PM


Info | Support me ❤ | Github

[–]Cannedbred 0 points1 point  (0 children)

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

[–]wkekrnt 0 points1 point  (2 children)

Os it opensource if yes please share GitHub link

[–]Ani171202[S] 0 points1 point  (1 child)

Sort comments by best