GithubHelp home page GithubHelp logo

stevenyangyj / maze-solving-using-a-star-algorithm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from satinder147/maze-solving-using-a-star-algorithm

0.0 1.0 0.0 36 KB

In this repository, I have made a maze solving system. The system takes in input of an maze using a camera. This Image is converted into a grid. It lets you find the shortest path between any two points

Python 100.00%

maze-solving-using-a-star-algorithm's Introduction

Maze-Solving-using-A-star-algorithm

In this repository, I have made a maze solving system. The system takes in input of an maze using a camera. This Image is converted into a grid, then you can give the starting and the ending point and the system solves the maze using A* algorithm

Requirements

  1. Python3
  2. Opencv
  3. heapq
  4. matplotlib

Steps

1) Input image using the camera

IMAG2747

2) Detect the maze using image thresholding

Screenshot from 2019-03-22 02-23-11

3) Convert the image into a smaller grid (because the image size is very big)

Screenshot from 2019-03-22 02-28-13

4) Take the start and the end point from the user

Screenshot from 2019-03-22 02-28-53

5) Solve the grid using A-star algorithm

I have provided some sources from where I studied the algorithm in the references section.
Screenshot from 2019-03-22 02-29-04

Things to improve

  1. The process of converting a high resolution image into a grid is not accurate and is also not very efficient.
  2. Plotting the result on the live camera feed.

References

1)Computerphile
2)CodingTrain
3)Medium
4)raywenderlich
5)Analytics link

maze-solving-using-a-star-algorithm's People

Contributors

satinder147 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.