Тёмный

Turning a whole textbook into Anki flashcards with one click (including images) 

Jake Romm
Подписаться 1,9 тыс.
Просмотров 12 тыс.
50% 1

The purpose of this video was more of a “show and tell” than a tutorial. If you want to know more of the nitty gritty details of how you can get started writing your own Python scripts, then check out this post on my website:
www.notion.so/thevitalcurricu...
thevitalcurriculum.super.site...
------------------------------------------------------------------------------------------------------------------------------------------------
Plan for this app:
This is an extremely niche app with really on one use case: creating flashcards from the Case Review Series radiology textbooks. That’s it. It won’t work for anything else. I still plan on finishing this project so that eventually I can share the fully functional app with whoever would like to have access to it. But I still have a bit to learn and improve.
I probably won’t provide progress updates on RU-vid (because I expect few people to be interested). If you are interested in getting updates and knowing when it is finished, you can opt into my email list! I’ll provide progress updates for this project as well as other interesting projects I’m working on. Should be a more intimate way of providing updates and connecting with anyone who is interested in whatever it is I am doing here on YT lol.
Email list sign-up (I promise to not blow up your inbox lol):
www.notion.so/thevitalcurricu...
------------------------------------------------------------------------------
💙 Support my antics (and help me build more tools!) - www.buymeacoffee.com/JakeRommMD

Опубликовано:

 

29 дек 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 63   
@twobitmage
@twobitmage 4 месяца назад
Bro if you figure out how to generalize this to other textbooks I'm going to start a petition to give you the Nobel Prize
@JakeRommMD
@JakeRommMD 4 месяца назад
😂
@CarlosMorales-tf4fc
@CarlosMorales-tf4fc 6 месяцев назад
I'll be waiting for this app. Keep up the good work!
@Helloworld-hs9rq
@Helloworld-hs9rq Месяц назад
this is what i needddd, i found way to add image to field through html like this some days, but no one describe that, but i found you.
@adammarley5616
@adammarley5616 Месяц назад
Extremely impressive! Great work
@XxTurtleAttackxX
@XxTurtleAttackxX 6 месяцев назад
Omg game changer again! Love you dude. Sorry that I didn't write the email last time
@amarosmanovik7502
@amarosmanovik7502 6 месяцев назад
I really enjoyed how you took a real world problem and made a solution for it. Automation is one of the coolest things that coding can do and you showed a fairly simple idea and made it into something useful. Good job!
@sebagloup
@sebagloup 9 дней назад
Super inspiring. Im a 3rd year medical student from germany and wanted to let you know that your videos have been very helpful with elevating my chatgpt usage for medical school. now i might have to get into python too goddamn...haha
@JakeRommMD
@JakeRommMD 9 дней назад
Awesome! I know, now I'm hooked and I can't stop tinkering with coding projects. It's very addicting lol.
@petvet72
@petvet72 3 месяца назад
Thanks much Jake. I am in the same boat as you. Correction! Smaller boat and a lot more smellier. I am a veterinary neurology and neurosurgery resident with a wife, kids, in-laws, and a dog. ;), This is really helping. I have to take general IM boards first and this helps with all the cardio, entero, and other smelly and necessary headaches. My sincere thanks.
@Wingedmagician
@Wingedmagician 3 месяца назад
great video thanks. I think it’ll probably come in handy later
@arnefilipovic261
@arnefilipovic261 6 месяцев назад
very cool and inspirational! great work. Projects are really the only way how to learn anything
@JakeRommMD
@JakeRommMD 6 месяцев назад
Completely agree!
@rising343
@rising343 6 месяцев назад
You are such a genius
@fireball27340
@fireball27340 6 месяцев назад
oms 1 here, you are really doing gods work😭✊✊
@Helloworld-hs9rq
@Helloworld-hs9rq Месяц назад
You make ChatGPT to e=another level, you did something you don't know, i like your job, pls make more videos
@Abhisheksingh_102
@Abhisheksingh_102 6 месяцев назад
I enjoyed the whole process❤🎉
@sethaaron510
@sethaaron510 6 месяцев назад
Oh woah, this is fun to learn that there is someone else who is doing the same thing as I do. lol, this is super entertaining to watching!
@MrAlnabi
@MrAlnabi 3 дня назад
Same thing here, what is fascinating is also I'm a newbie, I made a tuning script for each textbook because the layout and formatting are different
@corbinester165
@corbinester165 6 месяцев назад
Awesome video!
@itharaju
@itharaju 4 месяца назад
You're a genius👍
@crism9450
@crism9450 Месяц назад
Jake you're awesome, can you also make a video on your anki settings and how you get your anki to look the way that it does?
@JakeRommMD
@JakeRommMD Месяц назад
Sure! I've got something planned, but I'm not so sure how granular to make it. My cards look the way they do because I customize them with CSS and HTML. But I use chatGPT to do most of it. Are you familiar with customizing your anki note templates (colors, fonts, fields, etc)? Or would you need a video that's starts with the basics of flashcard templates?
@crism9450
@crism9450 28 дней назад
@@JakeRommMD I'm a little familiar with it, but for the channel I think it would be helpful to show from the start. I would love to learn and see your process.
@pedroewert143
@pedroewert143 5 месяцев назад
Wow thank you for the inspiration and hints - i just created a tool. It takes the standard powerpoint-pdfs of my prof. It finds adobe acrobat, then saves the heading as a picture and the content, then flips to the next page, rinse repeat - then writes it into a csv that anki can use. i got some more tweaking to do but im already very happy. Getting 500 slides into anki already makes me super happy
@Sallau_Jr
@Sallau_Jr 4 месяца назад
Hello. Can you please explain this method
@pedroewert143
@pedroewert143 4 месяца назад
@@Sallau_Jr download python. then tell chat gpt kind of: i need python code for a program that turns a pdf into anki cards. first it should bring adobe acrobat to the front. then take one screenshot of the header that will serve as question and one screen shot of another area that i will define that will contain the answer. write question and answer in a csv file that anki can import. then simulate a page_down press and repeat everthing till the last page of the pdf.
@Sallau_Jr
@Sallau_Jr 4 месяца назад
@@pedroewert143 Thank you
@Sallau_Jr
@Sallau_Jr 4 месяца назад
@@pedroewert143 Hello. I am having issues with the question, I need your help. Can you please break it down, I have downloaded everything and I have generated the code from Chat Gpt. But my issue is " question text is not define " did you mean question file ?? Can you please help
@pedroewert143
@pedroewert143 4 месяца назад
@@Sallau_Jr it should create question1.jpg and answer1.jpg in a folder and in an excel file have the filepath for both, then anki should be able to import it
@Abhisheksingh_102
@Abhisheksingh_102 6 месяцев назад
Could you make a detailed video...how everything has to be done
@yt-sh
@yt-sh 2 месяца назад
keep us posted
@elmzlan
@elmzlan 12 дней назад
I have the same idea so i started to learn python. Damn. Thanks man
@JakeRommMD
@JakeRommMD 11 дней назад
Nice! How is it going so far? I need to actually learn python. It's so frustrating trying to make changes to scripts without understanding the basics.
@RolyG21
@RolyG21 5 месяцев назад
Hi there! How did you create the drop down question and answers on the back of the cards? Thanks for your video!
@JakeRommMD
@JakeRommMD 5 месяцев назад
I'll be making a video about my process for creating anki elements like the drop-down boxes soon...but the short answer is I have ChatGPT code them and I test them out and tweak them as needed to get them to work.
@Abhisheksingh_102
@Abhisheksingh_102 6 месяцев назад
Is there anyway we can convert the handwritten text by python ocr to normal text and then make flashcard?
@JakeRommMD
@JakeRommMD 6 месяцев назад
Yes, this would be possible using an OCR library.
@Abhisheksingh_102
@Abhisheksingh_102 6 месяцев назад
Can we use this for a handwritten pdf which contains a lot of histopathology images, tables and flowcharts. ???
@JakeRommMD
@JakeRommMD 6 месяцев назад
I don't think it would work on handwritten text. But I think it should be able to extract the images. Thomas Frank (@ThomasFrankExplains) has been using GPT-4 Vision to convert handwritten notes into Notion notes. Something like this would make your text easier to extract. He's working on a tutorial for this now. Alternatively, you could use something like PyTesseract and have GPT-4 built the script for you.
@insanityworld525
@insanityworld525 Месяц назад
it is possible to have the core radiology flashcards?? 'm a radiology resident and I'll have the exam with cases soon. Thank you!
@JakeRommMD
@JakeRommMD Месяц назад
The thumbnail is a little bit of false advertising I'm afraid. The flashcards are from the Case Review Series. I worked on automating flashcards from Core, but I need more time to explore AI models that are more capable than GPT with an API. I can't share the deck as it contains over 5k copyrighted images. But I can share how I did it. Which is coming after I finish get through done with nights.
@aashishbhardwaj3232
@aashishbhardwaj3232 2 месяца назад
Wish you luck
@Russia-with-krafi_bn
@Russia-with-krafi_bn 5 дней назад
big brain guy
@Abhisheksingh_102
@Abhisheksingh_102 6 месяцев назад
Thank you so kuch
@Corwin64
@Corwin64 4 месяца назад
I literally just made a comment to figure out how to do this while I’m in my nursing program and eventually graduate school! I’d like to do this exact same thing! Are you willing to share the code you’ve written?
@JakeRommMD
@JakeRommMD 4 месяца назад
I'd be happy to! I cant give up the whole project because I'm afraid Elsevier will come after me for encouraging people to rip off their intellectual property. But maybe I can make a guide with some of the important pieces of code so you can see how I do it.
@Corwin64
@Corwin64 4 месяца назад
@@JakeRommMD that would be amazing!! Anything you could do would be more than appreciated. I will 100% stay subscribed and wait for you to drop it or we can connect off of here. Plus, to avoid anyone coming after you, you could always just use a copyright free book as an example in your video, point out the differences between what someone “might do” with a college textbook? Not 100% sure if that would work but not a bad place to start. Keep up the amazing work 🔥
@Abhisheksingh_102
@Abhisheksingh_102 6 месяцев назад
Hi Jake...I have signed in from your email , i wanted to know who did you do this... hope you share it sooner I have a exam coming in 2 months 😢
@JakeRommMD
@JakeRommMD 6 месяцев назад
Well, all you need is access to ChatGPT and a clear idea of what you want your script to do. ChatGPT can guide you through each step of the process. That's essentially how I did what I did. It's going to take a lot of problem solving no matter what you try to build, and I won't be able to prepare you for all the potential issues. Each textbook I've added to this project so far has had its own unique issues to work through. Is there a specific part of the process you have questions about?
@Abhisheksingh_102
@Abhisheksingh_102 6 месяцев назад
I have extracted all the text and images using python, ptesseract . I don't know how to create that Jason file to link images and the part where you talked about javascript . I have also realised these things are not easy as it seems sometimes things are more complex as you drive in if you are a noob . I think I will follow your previous method of copying text to gpt and then the output to excel. By the way thanks for all your videos they have helped me.
@JakeRommMD
@JakeRommMD 6 месяцев назад
Ah yes. I didn't use ptesseract, so I'm not sure if it would work exactly the same. But the key to making this work for my script was the fact that my textbook was a case book. So there was very consistent formatting which I could target with regular expressions to segment the cases. This made it very clear which images belonged to each case. So all I had to do was ask GPT to adjust the script so that it would count how many images were in each case and save those numbers to a JSON file. Then, in a separate script, the exact number of html links for each case were created using the counts from that JSON file and by using the consistent image naming convention i created. In order for this to work you need the following: - a predictable pattern in the way images are presented - a way to organize and name images (either by using textual context from your PDF or by relying on a numerical cataloging system you create yourself) There are an infinite possible solutions to this issue, but this is what I did. Since you gave me your email, I can send you this portion of my script and you can have ChatGPT explain it to you, but I don't think it will help you because your PDF is formatted differently than mine. Alternatively, if you don't have time to mess with a python script, you can just manually feed your text to GPT and have it create cards for you. You can still include html image links in your excel sheet and import them with your cards if you know which images go with each card.
@Abhisheksingh_102
@Abhisheksingh_102 6 месяцев назад
I totally agree with you that my pdf is very different from yours so your script won't work for me. I would have worked on python script but I'm running short of time to experiment as exams are very near so I will stick to the old pattern of feeding text to gpt and your new advice of linking html image links. Thank you so much Jake...!!!
@mediziner4283
@mediziner4283 18 дней назад
Can you share the app
@JakeRommMD
@JakeRommMD 18 дней назад
The app is useless unless you are using the specific books I was using. Because it uses simple Python scripts and doesn't incorporate any LLMs, so it's very inflexible. But I'm slowly breaking down the process for people who want to do what I did into bite sized tutorials.
@mediziner4283
@mediziner4283 18 дней назад
@@JakeRommMDok sir
@Bruh-cg2fk
@Bruh-cg2fk Месяц назад
🌚
@josephpatrick384
@josephpatrick384 5 месяцев назад
P R O M O S M
@meenotekittutorials348
@meenotekittutorials348 6 месяцев назад
You need to share this script with us 🥹
@JakeRommMD
@JakeRommMD 6 месяцев назад
I will! I'll put it up on my website and put the link in the description. I just worry that people won't be able to get it to work because of how segmented the workflow is...but I'll post it for those interested in seeing how it works.
@meenotekittutorials348
@meenotekittutorials348 6 месяцев назад
@@JakeRommMD Gladly waiting for it 🫱🏿‍🫲🏽
Далее
This or That 🛍️
00:52
Просмотров 3,4 млн
Кто быстрее? (GTARP)
19:19
Просмотров 250 тыс.
I coded one project EVERY WEEK for a YEAR
13:13
Просмотров 553 тыс.
The most important Python script I ever wrote
19:58
Просмотров 168 тыс.
Unlock SUPER high quality flashcards (Updated Method)
9:53
Essential Anki Settings I Wish I Changed Sooner
24:44
Просмотров 206 тыс.
Breaking ChatGPT (except it broke me instead)
6:18
Просмотров 479 тыс.
I tried to make a Valorant AI using computer vision
19:23
ANKI VS QUIZLET (or is there something better...)
8:50