In this project, our objective was to build a vision based system using deep learning and image processing techniques to detect runway and localize the runway. Vision based systems provide low cost solution to detect landing sites by providing rich textual information. So we are trying implement a low cost runway localization system which use only use camera as extra hardware to detect runway.
- Runway Detection and Localization:
Purpose: The program will detect if there is a runway in an image and localize it.
Input: Image imported from system to be tested.
Output: - If runway detected:
The same image with a blue shade highlighting the runway is displayed. - If runway not detected:
A message showing ”runway not detected” is displayed.
The Runway detection and Localization System works in two modules:
-
Runway Detection which includes: --Data Preprocessing --Feature Extraction --Classification and Training --Fine Tuning
-
Runway Localization which includes: --Line Detection Techniques --CNN
- Setting up
- Download/Update latest data.
- Activate Virtual Environment.
- Start the program.
- Processor: i3 or i5 (i5 is better)
- RAM: 8GB (Minimum)
- Hard Disk: 500GB or above
- Tkinter :The frontend development is entirely done with Tkinter. Tkinter is a Python binding to the Tk GUI toolkit. It is the standard Python interface to the Tk GUI toolkit, and is Python’s de facto standard GUI.
- Python 3.7 : The entire application is written in the python program- ming language, the deep learning modules used are also based on python.
- Tensorflow v2.1 : It’s the backbone of the back-end part of the system. Focused on training and inference of the neural networks.
- OpenCV : It’s also a part of backend part, mainly aimed at real-time computer vision.
- Keras: It provides a Python interface for artificial neural networks and acts as an interface for the TensorFlow library.
- 1.1 - Download and Install Python IDLE.
- 1.2 - Download and install anaconda3 from given link :
https://www.filehorse.com/download-anaconda-64/download/
- 1.3 - Setting Virtual Environment
https://drive.google.com/file/d/11DD9TefmGKzvc6_jADen38FgYlbfu9Bi/view?usp=sharing
Extract mrcnn1.zip file in thec/users/user/anaconda3/envs folder
. - 1.4 - Download and extract the
Runway_detection
folder
https://drive.google.com/file/d/1luNq6HKa0KEIYgcKOlcoM4oBOP_FLIde/view?usp=sharing - 1.5 - Open anaconda prompt in the
Runway_detection
folder - 1.6 - Adding data set
https://1drv.ms/u/s!AmgKYzARBl5ca3HNaHIlzp_IXjs
Extract NWPU-RESISC45.rar file to theRunway_detection
folder.
- 2.1 - Open anaconda prompt.
- 2.2 - Run command :
activate mrcnn1
. - 2.3 - Change directory to
Runway_detection
folder. - 2.4 - Run command :
python gui.py
. - 2.5 - Upload an image.
- 2.6 - Click the button on the pop up window to start detection.
pre.py
- for preprocessing.resnet50.py
- resnet50 model.detect.py
- for recognition of runway.gui.py
- for creation of user interface and to run the program.ht.py
- hough transform for localization.mrcnn1.zip
- to set up the virtual environment.mask_rcnn.py
- to segment image.
Any improvement to this Documentation or any new contributions are always welcome!
Thanks, Joshua Mathew Philip