SudokuSolver Forum

A forum for Sudoku enthusiasts to share puzzles, techniques and software
It is currently Thu Aug 22, 2019 4:37 pm

All times are UTC




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: SudokuGrabber
PostPosted: Fri Jun 15, 2012 9:19 am 
Offline
Site Admin

Joined: Sun Apr 13, 2008 1:50 pm
Posts: 190
Location: London
enxio27 wrote:
Your Sudoku Grabber is SOOOOO AMAZING!! I assume that it will work from a PDF image, or even on a Web site?
It will read JPG/BMP/TIF/PNG/GIF natively. For anything else, as long as you can display the image using PDF reader or website or whatever, you can use the Grab function to get it into the program.

Quote:
Can it interpret jigsaw, greater-than/less-than, odd-even, etc., or does that part have to be done manually?
It's pretty dumb in that respect at the moment. It will look for a regular grid pattern only. There are two options for Futoshiki puzzles, those with the greater/less symbols built into the cell border and those where the cells are separate boxes with the greater/less symbols in between them. It does try to recognise when there is a Diagonal variant. Anything else is manual, I'm afraid.

Quote:
And the OCR training function is simply phenomenal!
Thanks - took a lot of work to figure out how to do a reasonable character interpretation without massive OCR engine.

Quote:
If you could get it to do a multi-grid in one pass (perhaps with user input as to number and arrangement of grids), I would be over the moon! Even standard Samurai would be very helpful.
I need to do a lot more work to the program to better recognise grid patterns - even a standard 9x9 sometimes confuses it (there are so many different designs out there). Just need to find some time to do it.

My primary drive for building it was to facilitate getting Futoshiki definitions for SudokuSolver - as there was no defined standard and the only puzzles I could find on line were image files. Since I'm lazy and couldn't be bothered to enter each one by hand, I put this little utility together.


Top
 Profile  
Reply with quote  
 Post subject: Re: SudokuGrabber
PostPosted: Fri Jun 15, 2012 8:42 pm 
Offline
Grand Master
Grand Master
User avatar

Joined: Thu Apr 24, 2008 4:27 pm
Posts: 785
I think I found a tiny bug in the training routine. I had accidentally mis-trained the grabber on a digit, so I went to the "Learned Images" to "untrain" it. In the process, it deleted an image from the listing for that digit. When I tried to display the last image in the list, I got the following error message:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at SudokuGrabber.Training.LearnedImagesTreeview_AfterSelect(Object sender, TreeViewEventArgs e)
at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SudokuGrabber
Assembly Version: 3.3.1.0
Win32 Version: 3.3.1.0
CodeBase: file:///E:/SudokuSolver/SudokuGrabber.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Top
 Profile  
Reply with quote  
 Post subject: Re: SudokuGrabber
PostPosted: Sat Jun 16, 2012 8:59 am 
Offline
Site Admin

Joined: Sun Apr 13, 2008 1:50 pm
Posts: 190
Location: London
enxio27 wrote:
I think I found a tiny bug in the training routine. I had accidentally mis-trained the grabber on a digit, so I went to the "Learned Images" to "untrain" it. In the process, it deleted an image from the listing for that digit. When I tried to display the last image in the list, I got the following error message
Oops! I'll put that on the list of required fixes.


Top
 Profile  
Reply with quote  
 Post subject: Re: SudokuGrabber
PostPosted: Sat Jun 16, 2012 2:42 pm 
Offline
Grand Master
Grand Master
User avatar

Joined: Thu Apr 24, 2008 4:27 pm
Posts: 785
I have to tell you, Richard, I'm really impressed with this tool. Yesterday I was able to grab a puzzle from a Web site that I couldn't have gotten any other way. And the OCR training function is nothing short of spectacular. VERY well done! :applause:


Top
 Profile  
Reply with quote  
 Post subject: Re: SudokuGrabber
PostPosted: Sat Jun 16, 2012 3:38 pm 
Offline
Site Admin

Joined: Sun Apr 13, 2008 1:50 pm
Posts: 190
Location: London
enxio27 wrote:
I have to tell you, Richard, I'm really impressed with this tool. Yesterday I was able to grab a puzzle from a Web site that I couldn't have gotten any other way. And the OCR training function is nothing short of spectacular. VERY well done! :applause:
Thanks, another satisfied customer.


Top
 Profile  
Reply with quote  
 Post subject: Re: SudokuGrabber
PostPosted: Wed Jun 27, 2012 6:34 pm 
Offline
Grand Master
Grand Master
User avatar

Joined: Thu Apr 24, 2008 4:27 pm
Posts: 785
Is there any way the grabber can be made to get at least the digits and empty cells from a jigsaw? I'm hoping for an 81-character puzzle string (in the order they would be if the puzzle were a standard sudoku) that I can import into SudokuSolver to edit the nonet borders.


Top
 Profile  
Reply with quote  
 Post subject: Re: SudokuGrabber
PostPosted: Fri Nov 07, 2014 2:50 am 
Offline
Grand Master
Grand Master
User avatar

Joined: Thu Apr 24, 2008 4:27 pm
Posts: 785
Richard, I don't know how I missed this before (a true "Duh!" moment! :doh: ), but I just discovered that SudokuGrabber also reads puzzle image files! I'm so excited to discover this!!


Top
 Profile  
Reply with quote  
 Post subject: Re: SudokuGrabber
PostPosted: Fri Nov 07, 2014 10:14 am 
Offline
Site Admin

Joined: Sun Apr 13, 2008 1:50 pm
Posts: 190
Location: London
enxio27 wrote:
Richard, I don't know how I missed this before (a true "Duh!" moment! :doh: ), but I just discovered that SudokuGrabber also reads puzzle image files! I'm so excited to discover this!!

SudokuGrabber . . . the gift that keeps on giving !


Top
 Profile  
Reply with quote  
 Post subject: Re: SudokuGrabber
PostPosted: Fri Nov 07, 2014 6:35 pm 
Offline
Grand Master
Grand Master
User avatar

Joined: Thu Apr 24, 2008 4:27 pm
Posts: 785
rcbroughton wrote:
SudokuGrabber . . . the gift that keeps on giving !


:D


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group