adjustable glasses illustration eye chart illustration clipboard illustration lenses illustration

Prompt: Sudoku puzzle extraction

12 out of 21 models answer this prompt correctly.
Prompt: You are given an image of a Sudoku puzzle. Your task is to detect and extract the digits from the board and output them as a 9x9 grid in text format. Identify the numbers visible on the Sudoku grid. Use a dot (.) to represent empty cells (i.e., those without a digit). Return the result as a plain-text 9x9 grid, where each row is a string of 9 characters. Maintain the correct order from top-left to bottom-right of the board.
Answer: ...4.8... .6..7..1. 7.2.9.5.4 .9.7.4.3. ..7.5.8.. .8.9.6.5. 9.4.1.7.8 .7..6..4. ...2.7...
Submitted by: Roboflow
Sudoku puzzle extraction

Contribute a Prompt

How models perform on this prompt

ChatGPT-4o

Model answer: Based on the provided image of the Sudoku puzzle, here is the 9x9 grid extracted. Empty cells are represented with a dot (`.`): ``` ...4.8... .6.7..1.. 72.9.5.4. .97.4..3. ..7.5.8.. .896.5... 941.7.8.. 7..6..4.. ..2.7.... ``` Each row is a 9-character string, maintaining the correct order from top-left to bottom-right.

View more tests run on this model

Claude 3.7 Sonnet

Model answer: I'll extract the Sudoku puzzle from the image and represent it as a 9x9 grid with dots for empty cells: ``` ....48... .6...7..1 7.2.9.5.4 .9.74.3.. ..7.5.8.. .8.96.5.. 9.4.1.7.8 .7...6.4. ....27... ``` Each row contains the visible digits from the Sudoku grid, with dots representing the empty cells. The format preserves the exact layout of the puzzle as shown in the image.

View more tests run on this model

Claude 4 Opus

Model answer: I'll analyze the Sudoku puzzle image and extract the digits, representing empty cells with dots. Looking at the grid from top to bottom, left to right: Row 1: . . . 4 . 8 . . . Row 2: . 6 . . 7 . . 1 . Row 3: 7 . 2 . 9 . 5 . 4 Row 4: . 9 . 7 . 4 . 3 . Row 5: . . 7 . 5 . 8 . . Row 6: . 8 . 9 . 6 . 5 . Row 7: 9 . 4 . 1 . 7 . 8 Row 8: . 7 . . 6 . . 4 . Row 9: . . . 2 . 7 . . . Here's the extracted Sudoku grid: ``` ...4.8... .6..7..1. 7.2.9.5.4 .9.7.4.3. ..7.5.8.. .8.9.6.5. 9.4.1.7.8 .7..6..4. ...2.7... ```

View more tests run on this model

Claude 4 Sonnet

Model answer: Looking at the Sudoku puzzle image, I'll extract the digits row by row from left to right, top to bottom, using dots (.) for empty cells. ``` ...4.8... .6..7...1 7.2.9.5.4 .9.7.4..3 ..7.5.8.. ..8.9.6.5 9..4.1.7.8 .7...6..4 ...2.7... ```

View more tests run on this model

GPT-4.1

Model answer: Here is the extracted 9x9 Sudoku grid from the image, using dots (.) for empty cells: ``` ..4.8.... .6.7..1.. 72.9.5.4. 9.7.4..3. ..7.5.8.. 8.9.6..5. 941.7.8.. 7..6..4.. ..2.7.... ``` Let me know if you need anything else!

View more tests run on this model

GPT-4.1 Mini

Model answer: Here is the extracted Sudoku grid from the image, with dots representing empty cells: ..4.8.... .6..7..1. 7.29.5.4. .9.7.4.3. .7.5.8... 8.9.6.5.. 9.4.1.7.8 .7..6..4. ..2.7....

View more tests run on this model

Gemini 2.0 Flash

Model answer: ``` ...4.8.. .6..7..1. 7.2.9.5.4 .9.7.4.3. ..7.5.8.. .8.9.6.5. 9.4.1.7.8 .7..6..4. ...2.7... ```

View more tests run on this model

Gemini 2.0 Flash Lite

Model answer: ``` ....4.8.. ..6..7.1. 7.2.9.5.4 ..9.7.4.3 ...7.5.8. ..8.9.6.5 9.4.1.7.8 ..7..6.4. ....2.7.. ```

View more tests run on this model

Gemini 2.5 Pro Preview

Model answer: ...4.8... .6..7..1. 7.2.9.5.4 .9.7.4.3. ..7.5.8.. .8.9.6.5. 9.4.1.7.8 .7..6..4. ...2.7...

View more tests run on this model

OpenAI O1

Model answer: Below is a direct “read‐off” of the puzzle as shown, placing each visible digit in its corresponding cell and using a dot (“.”) for every empty cell. Rows are listed top to bottom; columns left to right: Row 1: ...4..8.. Row 2: 6..7....1 Row 3: 72.9.5..4 Row 4: 97..4...3 Row 5: 7...5.8.. Row 6: 89...6.5. Row 7: 94178.... Row 8: 764...... Row 9: .......27 Hence, the 9×9 grid (with no extra spaces) is: ...4..8.. 6..7....1 72.9.5..4 97..4...3 7...5.8.. 89...6.5. 94178.... 764...... .......27

View more tests run on this model

OpenAI O4 Mini

Model answer: Here is the puzzle as a 9×9 text grid, “.” marking the empty cells. Rows are given top‐to‐bottom, columns left‐to‐right: ...4.8... .6..7..1. 72..9.5.4 .9.7.4.3. .7..5..8. ..8.9.6.5. 941.7..8. ..7.6..4. ....27...

View more tests run on this model

Qwen 2.5 VL 7B

Model answer: Here is the Sudoku grid with digits extracted: ``` . . 4 8 . . . 6 7 . . 1 . 7 2 9 5 4 . 9 7 4 3 . . 7 5 8 . 8 9 6 5 . 9 4 1 7 8 . 7 . 6 4 . 2 . 7 . ```

View more tests run on this model

Claude 3.5 Haiku

Model answer: Here's the Sudoku grid extracted from the image, using dots (.) for empty cells: ..64.8... .6..7..1. 7.2.9.544 .9.7.4.3. ..7.5.8.. .8.9.6.5. .94.1.78. .7.6...4. .2.7.....

View more tests run on this model

Cohere Aya Vision 32B

Model answer: ``` 4 . . 8 1 . . . . . . 6 7 . . . . . . 7 . 2 9 5 . . . . . . . . . . . . . . 8 . . . . . . . . . 6 5 . . . . . 9 . . 4 . . . . . . 7 . . . . . . . . . . . . . 2 7 . ```

View more tests run on this model

Cohere Aya Vision 8B

Model answer: ``` .8.7.9.1.4.3.6.2.5 .6.2.5.8.3.4.7.9.1 .3.4.7.2.6.1.8.5.9 .9.5.1.6.7.8.4.3.2 .4.3.6.9.5.2.1.7.8 .7.1.8.4.3.9.2.5.6 .2.5.6.3.1.7.8.4.9 .1.4.9.7.2.6.5.3.8 .5.8.3.2.4.1.9.6.7 ```

View more tests run on this model

GPT-4.1 Nano

Model answer: Here is the extracted Sudoku grid in text format: ``` . . 4 8 . . . . . 6 . . . 7 . . 1 . . 7 2 . 9 . 5 4 . . 9 . 7 . 4 3 . . 7 . 5 . 8 . . . . 8 9 6 . 5 . . . . 9 4 1 . 7 . 8 . 7 6 . 2 . 4 . . . 2 7 . . . . . ```

View more tests run on this model

Gemini 2.5 Flash Preview

Model answer: ...4.8... .6...7..1. 7.2..9.5.4 ..97..4.3. ....5.8.. ..89..6.5. 9..4.17.8 ..7..6.4. ...2.7...

View more tests run on this model

Gemma 3 27b

Model answer: ``` ..4.8..... ..6.47.1. 7.29..5.4 ..9.743.. .....5.8. ..8.9.6.5 .9.4.1..78 ..7..6.4. ...2.7... ```

View more tests run on this model

Llama 3 11B Vision

Model answer: Step 1: The task is to extract the digits from a 9x9 Sudoku board and output them as a plain-text 9x9 grid, where each row represents a sample of nine characters. Step 2: To solve this, we first need to identify and extract the visible numbers on the Sudoku grid. This involves understanding the structure of a Sudoku puzzle and the rules governing its completion. Step 3: A Sudoku puzzle consists of a 9x9 grid, divided into nine 3x3 sub-grids or "regions." The objective is to fill in the missing digits, represented by empty cells (denoted by.), such that each row, column, and region contains the numbers from 1 to 9 without repeating any number within the same row, column, or region. Step 4: Given the complexity and nuances involved in solving a Sudoku puzzle manually, an efficient approach is to utilize computer programming for its automated solving capabilities. This involves adapting algorithms like "Backtracking," which systematically constructs candidate solutions to the puzzle by iteratively checking for valid placements of digits across the board, while efficiently removing impossible combinations. Step 5: In the case of extracting the digits without solving the puzzle, we can leverage image processing techniques to detect text in the image provided. The text, being the digits, can be isolated and extracted using computer vision algorithms and libraries, following which, it needs to be organized into a 9x9 grid structure for presentation. Step 6: After identifying and extracting the digits, we would then position these individually in a 9x9 grid format. Every digit will have its position documented based on its location - starting from the top-left corner and moving to the right and then down. Step 7: This careful organization ensures that the digits are accurately represented in a comprehensible 9x9 grid format, allowing for easy visualization and understanding of the Sudoku puzzle. Answer: .............. ..clear....5..7..9..1..622....3.. ....................4...59.. .4....5..2.937....9.....825.... .918..487...................83... ....1.....8.4.....326.....632... ..6.9...4....1.....3..395....27.. .8......9.7.529..........43..... ..22......968.......5.....5....3..

View more tests run on this model

Llama 4 Scout 17B

Model answer: # Sudoku Grid Extraction ## Problem Description The task is to extract digits from a given Sudoku puzzle image and represent them as a 9x9 grid in text format. Empty cells should be denoted by a dot (.). ## Extracted Grid ``` 4.8......... 6.79.......1 72........54 9.7...4...3. ........785 89...6...5. 9...417...8 ...76...4... ........27.. ```

View more tests run on this model

Mistral Small 3.1 24b

Model answer: To solve the given task based on the Sudoku puzzle in the image, I'll manually identify the digits and empty cells from the top-left to bottom-right of the board, then represent them in a plain-text 9x9 grid. Here's the result: ``` 4...8.1. 6.7.5.4. 72.9.3.. 97.4.8.. 8.9.6.5. 94.178. 7...4.. ...2.7. ``` This grid maintains the correct order from the top-left to the bottom-right of the board. Each empty cell is represented with a dot (.).

View more tests run on this model