God, Love, News, Event, Entertainment, Amebo,..... All about Bringing out the best in you...
Show HN: Visual Sudoku Solver in the Browser (With OpenCV and TensorFlow) https://ift.tt/rIO1JeS
Show HN: Visual Sudoku Solver in the Browser (With OpenCV and TensorFlow) Hello! I recently wanted to learn a bit about computer vision. Initially, I wanted to build something which could solve a jigsaw puzzle, but figured I should start with something (much) simpler, so I've built this instead. This is a visual Sudoku solver which runs in the browser. It works by using OpenCV to identify and process the Sudoku grid, passing this to a simple ML model to identify the digits, and then solving the puzzle with a backtracking algorithm. The ML model was trained on the TMNIST data set using a model built with Keras, also a completely new area to me. It's far from perfect, and doesn't like non perfectly lit or overly warped puzzles, but the main goal here was learning, which I did, a lot. As this was primarily a learning project, I've tried to document my approach as much as possible, which can be found in this Python notebook: https://ift.tt/kfwLzDT... I used Python while exploring OpenCV and training the models etc, and eventually ported this over to web (OpenCV.js + Tensorflow.js) to get something I could actually share with people. Feel free to have a dig around the source or play around with the solver! Github: https://ift.tt/h8T0Glc https://ift.tt/ilskGXp August 20, 2024 at 02:49AM
Subscribe to:
Post Comments (Atom)
Show HN: phx.tools – The complete development environment for Elixir and Phoenix https://ift.tt/DTpdrOm
Show HN: phx.tools – The complete development environment for Elixir and Phoenix https://phx.tools September 21, 2024 at 12:17AM
-
HOMILY FOR FRIDAY, 14TH JUNE, 2024 TENTH WEEK IN ORDINARY TIME 1KING 19:9a. 11-16; GOSPEL: MATT 5:27-32 The conscience of man is where moral...
-
HOMILY FOR TUESDAY, 11TH WEEK IN ORDINARY TIME 1Kings 21:17-29; Matt 5:43-48 The last phrase of the gospel passage says “Be perfect just a...
-
HOMILY FOR MONDAY 24TH WEEK IN ORDINARY TIME B {1COR 12:12-14.27-31a; LUKE 7:11-17} Faith without good works is indeed dead. This theme co...
No comments:
Post a Comment