Object Detection For Indoor Localization System
Object Detection For Indoor Localization System
Abstract:- Indoor localization systems have gained obstacles that are very close to the person. This brings up the
significant attention in recent years due to their issue of safety of the blind and visually impaired.
applications in various fields such as smart homes, retail Independent mobility also is matter of concern. An object
environments, and healthcare facilities. This paper detection system is the need of the hour to combat the safety
presents an innovative approach to indoor localization issues and also enable them to have mobility that is not
through the integration of object detection techniques, dependent on anyone. The object detection system has to be
aiming to enhance accuracy and efficiency in identifying a simple and most importantly user friendly. It also should be
and locating objects within indoor spaces. We explore the budget friendly so that it can be afforded by them. We are
use of advanced deep learning algorithms, particularly fortunate to have technologies that can make a huge
convolutional neural networks (CNNs), to detect and difference in the life of the blind and visually impaired. Some
classify objects in real-time. Our methodology involves advanced technologies like computer vision, object detection
collecting a comprehensive dataset of indoor and object identification are available in today’s world. The
environments, training a robust object detection model, camera of a smart phone can be used as the vision apparatus
and implementing it in a localization framework that which helps in the object detection system[2].
utilizes both visual and spatial data. The experimental
results demonstrate that our proposed system achieves Indoor localization or indoor positioning system is a
high detection accuracy and reduced localization errors, known as a process of detecting position of any object or
outperforming traditional methods. Furthermore, we people inside a building or room by different sensory data
discuss the potential of leveraging object recognition to collected from different devices using different techniques
improve user experience and navigation in complex such as radio waves, magnetic fields, acoustic signals or other
indoor settings. This research contributes to the evolving procedures. However, lacking of a standard localization
field of indoor localization and offers a foundation for system is still a very big concern. Solution of this issue can
future developments in intelligent indoor navigation be very beneficial for people in many cases but it can be
systems. especially very beneficial for the visually impaired people
[3].
Keywords:- Indoor Localization, Object Detection,
Convolutional Neural Networks (CNNs). II. RELATED WORKS
To implement the object detection system, we have Input: Path to the Image File (img_path).
used the algorithm as below.
Call load_and_preprocess_image to get the preprocessed
A. Import Libraries: image array.
Use the pre-trained model to predict the class of the
Import necessary libraries: tensorflow, numpy, image.
matplotlib, and Keras modules for image processing and Decode the predictions to retrieve the top 3 predicted
MobileNetV2. classes along with their probabilities.
Print the predicted objects and their corresponding
B. Load Pre-Trained Model: probabilities.
Load the original image and display it using matplotlib.
Load the MobileNetV2 model pre-trained on ImageNet
data, including the weights. E. Main Execution:
C. Define Function: Load_And_Preprocess_Image: Specified the path to the image that has to be classified.
Call the predict_image function with the specified image
Input: Path to the Image File (img_path). path to make predictions and display the results.
Load the image from the specified path with a target size IV. RESULTS
of (224, 224) pixels.
Convert the loaded image to a NumPy array. The proposed system is capable of detecting the objects
Expand the dimensions of the image array to match the present in the surrounding environment with good speed and
input shape expected by the model (adding a batch accuracy. It detects objects effectively the indoor
dimension). environment with good accuracy.
Preprocess the image using MobileNetV2’s
preprocessing function to normalize the pixel values.
Return the preprocessed image array.
2 Chair: 61.84%
3 Table: 57.44%
REFERENCES