tutorial

How to Generate Quiz Questions from Images Using AI OCR

Turn photos of textbooks, whiteboards, and handwritten notes into quiz questions using AI and OCR. Step-by-step guide with tips for best results.

Mehul Patel
9 min read
Share:
How to Generate Quiz Questions from Images Using AI OCR

You can generate quiz questions from images by uploading a photo to an AI quiz tool that uses OCR (optical character recognition) to extract text, then feeds that text to a language model that creates questions. The entire process takes under a minute and works with textbook pages, whiteboard photos, handwritten notes, slides, and diagrams with labels.

This is not a theoretical capability — it is available today. AI Quiz Maker supports image-to-quiz generation as one of its core input methods alongside text, PDF, URL, and topic-based generation. Teachers use it to turn phone photos of textbook pages into quizzes without any typing.


How Image-to-Quiz Generation Works

The process has three stages, all handled automatically:

Stage 1: OCR (Text Extraction)

OCR technology scans the image and converts visible text into machine-readable characters. Modern OCR powered by AI vision models is significantly better than the OCR of five years ago:

  • Printed text: 98-99% accuracy for clean, well-lit photos of printed material
  • Handwritten text: 85-95% accuracy depending on handwriting legibility
  • Mixed content: Can separate text from diagrams, charts, and decorative elements

The key improvement is that AI vision models do not just recognize individual characters — they understand context. If a letter is ambiguous between an "a" and an "o," the model uses surrounding words to make the right call.

Stage 2: Content Understanding

After extracting the text, the AI model reads and understands the content. This is different from traditional OCR tools that just give you raw text. The AI identifies:

  • Key concepts and definitions
  • Relationships between ideas
  • Facts that are testable
  • The subject area and difficulty level

Stage 3: Question Generation

Based on its understanding of the content, the AI generates questions in multiple formats:


Step-by-Step: Creating a Quiz from an Image

Step 1: Take a Clear Photo

The quality of your image directly impacts the quality of OCR output. Here is what works:

  • Lay the book flat. Curved pages near the spine create shadows and distorted text that OCR struggles with.
  • Use even lighting. Avoid shadows across the text. Natural daylight or a well-lit desk lamp works better than overhead fluorescents.
  • Fill the frame. Get close enough that the text is large and clear, but keep margins so no text is cut off.
  • Hold steady. Blurry text is the number one cause of OCR errors. Use both hands or rest your phone against something.
  • Shoot straight on. Angled photos create perspective distortion. Aim for a perpendicular angle to the page.

Step 2: Upload to AI Quiz Maker

Go to AI Quiz Maker and select the image input option. Upload your photo — JPEG, PNG, and WebP are all supported. The tool accepts images up to 10MB.

You will see a preview of your image and can crop it if needed before processing.

Step 3: Configure Your Quiz Settings

Before generating, you can customize:

  • Number of questions: Typically 5-20 depending on how much content is in the image
  • Question types: Choose specific formats or let the AI decide the best mix
  • Difficulty level: Easy, medium, or hard
  • Language: The AI can generate questions in the same language as the source or translate

Step 4: Review and Edit

The AI generates questions in seconds. Review each one for:

  • Accuracy: Does the question match the source material?
  • Clarity: Is the question unambiguous?
  • Relevance: Does it test what you actually want students to know?
  • Answer correctness: Verify the provided answer against the source

Most generated questions are ready to use, but spending 2-3 minutes reviewing a set of 10 questions catches any issues and gives you a chance to adjust wording.

Step 5: Export or Share

Once you are satisfied, you can:

  • Share the quiz via link for students to take online
  • Export to Kahoot, Quizlet, or Blooket for gamified classroom use
  • Download in various formats for your LMS
  • Print for paper-based assessments

What Works Well (and What Does Not)

Works Great

Textbook pages with clear print. This is the best-case scenario. Clean fonts, high contrast, organized layouts. OCR accuracy is nearly perfect.

Typed or laser-printed notes. Anything that came out of a printer or was typed will produce excellent results.

Presentation slides. Photos of projected slides or screenshots work well because the text is usually large and high contrast.

Vocabulary lists and glossaries. Structured content like this is ideal because the format naturally maps to matching and definition questions.

Tables and charts with text labels. The AI can read and interpret tabular data, creating questions about the relationships shown.

Works Decently

Whiteboard notes. Depends heavily on the handwriting. Block letters with thick markers photograph well. Quick cursive in thin markers is harder.

Handwritten notes. Neat, printed handwriting works 85-90% of the time. Cursive or cramped handwriting drops to 70-80% accuracy.

Annotated diagrams. The AI can read labels on diagrams, but it may miss spatial relationships. A labeled diagram of the heart will yield questions about the labeled parts, but not about which chamber is above another.

Does Not Work Well

Photos of handwritten math or equations. Mathematical notation is still challenging for OCR, especially when handwritten. Fractions, exponents, and special symbols often get misread.

Low-resolution or blurry images. If you cannot read the text easily yourself, the AI cannot either.

Heavily decorated or stylized text. Decorative fonts, text over busy backgrounds, or watermarked pages confuse OCR.

Images with no text. A photo of a lab setup or a map without labels cannot generate text-based questions. The AI needs text to work with.


Tips for Better Results

Batch your images. If a chapter spans 10 pages, take photos of all 10 and upload them in sequence rather than one at a time. More context produces better questions because the AI understands the full scope of the material.

Combine with other input methods. Upload an image of one section and paste text from another. AI Quiz Maker also supports PDF uploads and URL-based generation, so you can use whatever format is most convenient for each source.

Use high difficulty for review, low difficulty for introduction. When students are first learning a topic, generate easy recall questions. For exam review, increase the difficulty to get application and analysis questions.

Photograph the summary, not the whole chapter. Chapter summaries and review sections are dense with testable facts. A single photo of a chapter summary often produces better questions than photos of every page.

Edit the generated distractors. AI-generated multiple choice distractors are usually good but occasionally too easy. Swap in common student misconceptions from your experience for the most effective assessments.


Real-World Use Cases

The textbook photo during planning period. A teacher snaps a photo of tomorrow's reading on their phone, uploads it during lunch, and has an exit ticket ready by afternoon. Total active time: 3 minutes.

The whiteboard capture. After a lecture, take a photo of the whiteboard before erasing it. Upload the photo and generate review questions based on exactly what was taught that day.

The field trip documentation. Students photograph informational plaques, museum labels, and signs during a field trip. Back in class, those photos become quiz questions that connect the experience to the curriculum.

The substitute teacher toolkit. Leave photos of relevant textbook pages with instructions for a substitute to upload and generate a quiz. It keeps students engaged with on-topic material without requiring the substitute to be a subject expert.


How This Compares to Other AI Quiz Input Methods

| Input Method | Best For | Speed | Content Control | |-------------|----------|-------|-----------------| | Image/Photo | Physical textbooks, whiteboards, handwritten notes | Fast | High (you choose what to photograph) | | PDF Upload | Digital textbooks, articles, research papers | Fast | High (upload specific pages) | | URL | Web articles, online resources | Fastest | Medium (AI extracts from the whole page) | | Text Paste | Your own notes, custom content | Fast | Highest (you control every word) | | Topic | When you want AI to generate from its knowledge | Fastest | Lowest (AI decides the content) |

Image input sits in a sweet spot: it works with physical materials (unlike PDF or URL) while giving you control over exactly which content becomes questions (unlike topic-based generation).

For a deeper look at PDF-based generation, see our guide on generating exam questions from PDFs using AI.


FAQ

What image formats are supported for quiz generation?

JPEG, PNG, and WebP are the most commonly supported formats. JPEG is typically best for photos of documents because it balances file size with quality. PNG is better for screenshots and digital content. Avoid HEIC (iPhone default) by changing your camera settings to "Most Compatible" or converting before upload.

Can I generate quizzes from images of handwritten notes?

Yes, but accuracy depends on handwriting legibility. Neat printed handwriting works well (85-90% accuracy). Fast cursive or very small handwriting may produce errors that require manual correction. Writing with a thick marker or pen on white paper gives the best results.

How many questions can I generate from a single image?

It depends on the content density. A full textbook page with dense text can support 15-20 questions. A whiteboard with a few key points might support 3-5 questions. The AI will not generate more questions than the content can meaningfully support.

Is image-to-quiz generation accurate enough for graded assessments?

The OCR and question generation are reliable for printed text, but you should always review generated questions before using them for grades. Spend 2-3 minutes checking a set of 10 questions. For low-stakes formative assessment like exit tickets and practice quizzes, the accuracy is more than sufficient to use with minimal editing.

Can the AI read diagrams and generate questions about visual content?

The AI can read text labels on diagrams and generate questions about the labeled parts. However, it cannot interpret purely visual information like spatial relationships, colors, or unlabeled structures. For diagram-heavy content, supplement with text descriptions or use the text input method alongside images.

#image to quiz
#OCR
#ai quiz creation
#photo quiz

Mehul Patel

Writer at AI Quiz Maker. Covering education technology, AI tools, and assessment strategies for educators worldwide.