Thesisfors - Removed (1) - 22-43
Thesisfors - Removed (1) - 22-43
Thesisfors - Removed (1) - 22-43
Camera Management
2. After that, enter the username and password there, which you must be saved
at the time of installation of Raspbian, which is the operating system of
raspberry pi.
3. In this step, enable Wifi by entering the command sudo rfkill unblock wifi.
4. Now get the IP address from this step by entering the command if config.
7. Enable camera by going into the raspberry pi configuration, check first either
it is enable or not if not enable it first.
10. Now enter the video height, its width and frames with its port number.
11. At same time open an application on Raspbian to get data from camera,
from their open network stream and write the hostname in place of
raspberry pi the line given below.rtsp://raspberrypi:8080/.
Now one can see real-time video streaming on VNC viewer window.
1
3.
3.3.1. Dataset
Dataset of different peoples will be created and this dataset contains the
pictures with the labels. All these pictures in dataset converted in greyscale
because it reduces computational complexity and it is shown below in Figure
3.1.
For detection of face, a known algorithm named haar casscade classifier used
here and for training of algorithm dataset created which consists of two types of
images, one with positive and one is with negative pictures. Dataset for positive
picture is shown in Figure 3.2. Positive pictures consist of those which are
required for our
objective (face of persons) and negative with those which are except faces. After
2
3.3. Face Recognition
that it has been used graphic user interface (GUI) software which then train dataset.
After that training, model in form of xml file generated and for this the code which
have been used is shown in Figure 3.3.
For training the model, a dataset of images have been created and after that it
is labeled that with the help of each image with particular ids. A specific id has
given to each user and it is appended into numpy array to perform
mathematical operations on it. Following that, the model will be trained, and the
result will be in the form of an xml file, which will then be used to predict the
person’s identity and the code is shown in Figure 3.4.
3
3.
3.2.2.3 Prediction
After the training, xml file will be created which then in next step used for prediction
of a person. After the recognition of person, person identification will be displayed
in the top left corner. Some threshold value for prediction of face has been used, if
confidence of that particular face crosses that it declares face of particular id with
the name which is in the dataset and all of this will be shown on VNC viewer
window. The code for this is shown in in Figure 3.5.
2
3.5. Obstacle Detection and Landmine Detection
Pygame library imported here to see the output of thermal camera on the VNC
viewer screen which will show output as difference in the temperature whose
blank screen in form of the purple color and if a temperature greater the minimum
temperature range occurs this will be shown as red color and whose
temperature less than this will be shown as the blue color.
Scipy library works as a base to perform the interpolation for increasing the
number of pixels to see a good output on the screen. In first step, temperature
has set to its specific range and then thermal sensor will be initialized. In step
after to set the temperature, it is mentioned which color to be displayed on the
screen. In last step, an infinite loop has been displayed to show the output of
thermal sensor.
3.6. Mapping
Mapping of a particular environment is an excellent work, but to perform this is too
much difficult task. For this operation, Lidar will be used and the name is basically
2
3.
tf-luna lidar and this lidar draw the distance in two dimensional form which will
be in real-time. This lidar is same as the ultrasonic sensor and it is based on time
of flight principle. The main libraries which are required in this are matplotlib to
plot the map and another one is serial which will be used to get the serial data.
LIDAR has been interfaced with raspberry pi and that is through serial port 1 which
fist be enabled and then it will receive and send signal through this port. Here
different types of functions has been used, from which the first one is to check the
temperature and signal strength. The second on is to declare the sample rate that
have been used here to get the serial data. The third one is to get the version of this
device and in the next function is to declare the buadrate. And the fourth one is to
plot the map and in the last step the plot is to update the graph.
2
3.8. Location Identification
2
4. Hardware Implementation and
Simulation
The project includes an acrylic frame on which main components has been
placed, and the components are AMG8833, Raspberry pi 4 model B, Pi Camera, GPS
module and DC motors for movement of robot. Power supply has used in
range of 5V, 3A to power Raspberry pi and its GPIO pins to control the motors
and all other components. To make map of an environment LIDAR has been
used, and an ultrasonic sensor which served here as the obstacle sensor.
The frame designed to use in this robot made from an acrylic Sheet, and connecting
wires for components connection served as the line to transfer the signals. Some
components have been placed on upper frame and some on the lower frame of the
robot. Pi camera interfaced on the port of Raspberry pi near to the Ethernet port
and its silver strip kept on opposite to the Ethernet port.
The function of this camera is to do live streaming with the help of raspberry
pi and its output be shown on the VLC media player of raspberry pi, which is
built-in in the operating system of raspberry pi. And serial port used to connect
thermal camera on raspberry pi, which are the 2,3 pins on it.
2
4.1. Hardware Assembling
particular area and it is in form of infrared image. This helped to detect the weapons
with help of temperature variation, and output of this camera will be in form of 8x8
window. To get the location of an unknown person, GPS served as the medium to
transfer it.
The satellite based navigation system connected with processor and it sends the
GPS data through Rx pin of raspberry pi. To get the data that how far obstacle is
from robot, ultrasonic sensor has been interfaced with given device and transmitter
pin of this sensor send data to the processor it displayed on VNC viewer. The robot
body is shown above in figure 4.1.
2
4. Hardware Implementation and
camera, it has used the port which specifically designed for it besides the Ethernet
port.Raspberry pi used VLC media player which is already in it to get the stream by
3
4.2. Software
taking its hostname which have been declared at the time of flashing the operating
system on the raspberry pi. To display the live stream in it, raspberry pi require to
set the frames, height and width of the window which will open at the time of live
streaming. To detect the weapons, the pygame window will be open on VNC viewer
which works as desktop screen for it. To map a particular area this microcontroller
receive signals through its serial port and draw them using matplotlib.
this project is to stream the real-time video and all this work could be viewed on
the VNC viewer.
3
4. Hardware Implementation and
To send the location of any place on this planet the main thing which helps in this
scenario is GPS module.NEO-6M GPS module which through serial communication
shows the position of any person in terms of latitude and longitude.
As it is known, the landmines are dangerous that it can harm any person when
it comes in contact with it. Metal detector has been used here only to detect the
landmines, in metal detector main component which have been used is 555
timer IC and further the RLC circuit which acts as magnetic core when a metal
comes in contact with it. The output for this objective is shown below in figure 4.5.
To detect obstacles, ultrasonic sensor has been used which through sound waves
sends the distance from any obstacle.
Mapping of particular environment is done through the lidar (Light Detection and
Ranging) which basically works on the light emitted from the it and it calculate the
distance of light according to how much time it was away from the source. Here it
has been used the tf-luna lidar which basically works on 2-D space. It is interfaced
with raspberry pi through the serial port and It sends and receive the signal because
3
4.2. Software
it has same working procedure as the ultrasonic sensor. The output for this LIDAR
is given below in figure 4.6.
3
5. Results and Discussions
5.1. Results
This project has been completed in four steps as mentioned above in chapter 4 and
further details of results which has been gotten from different phases are shown
below.
3
5.2.
graph with a big signal ups and downs from its constant point may be seen on the
left side of the plot.
5.2. Advantages
Robotic systems and unmanned vehicles outfitted with cameras and sensors are
used in military operations to acquire intelligence, perform reconnaissance, and
give situational awareness. The following are some of the potential benefits for
conflict zone spying robots in military operations:
Iot devices can collect and communicate actual surveillance data to personnel,
allowing them to get a greater grasp of the situation on the ground. This can
result in enhanced choices and capabilities.
5.2.1.3 Versatility
Depending on the needs of the military, conflict zone surveillance robots can be
created and outfitted for a number of duties. They may be employed for observation
as well as logistic transport to forces.
3
5. Results and
The use of robots in armed conflicts may be less expensive than the presence of
peoples. Smart devices do not consume special, drink, or healthcare, and they may
work for long periods of time without ceasing.
War field surveillance robots can be outfitted with powerful sensors and
imaging devices, allowing them to identify data that peoples might miss. This
can aid in more effectively identifying prospective threats and targets.
War field spying robots can be used for educational and research purposes, provid-
ing students and researchers with the opportunity to study robotics, engineering,
and other fields.
War field surveillance robots can be outfitted with powerful sensors and
imaging devices, allowing them to identify data that human workers might miss.
This can aid in more effectively identifying prospective threats and targets.
3
5.2.
Human soldiers may be able to avoid sensitive environmental areas and lessen their
environmental impact by employing robots to acquire intelligence in conflict zones.
There may be less need for massive, fuel-intensive military vehicles that can
harm the environment since war field surveillance robots may be able to
navigate chal- lenging terrain and operate in places that are inaccessible to
conventional military vehicles.
War field spying robots may be able to assist military leaders in planning more
targeted operations that reduce collateral damage and decrease the environmental
impact of military operations by giving more accurate and detailed intelligence
about enemy positions and movements.
The following are a few potential ethical benefits of combat field spying robots:
decreased danger to human soldiers
Human soldiers may be able to avoid risky circumstances and lower their risk of
harm or death by utilising robots to gather intelligence in combat zones.
Robotic war field spies may be able to gather information about enemy
positions and movements with more accuracy and specificity, potentially lowering
the danger of civilian casualties and other unintended effects of military
operations.
3
5. Results and
The likelihood of human rights violations and other unethical behaviour could
be reduced if war field surveillance robots are able to collect and communicate
data about military operations. This information could be utilised to improve
openness and accountability in military operations.
Robotic war field detectives might be able to gather intelligence more rapidly
and effectively than human soldiers, which could reduce military operations’ span
and length and reduce the danger of harm to civilians and non-combatants.
5.3. Beneficiaries
Military and intelligence organisations who utilise them to acquire crucial infor-
mation in combat zones and other difficult conditions are the main beneficiaries
of war field spying robots. War field spying robots can help various parties in the
following precise ways:
3
5.3. Beneficiaries
the enemy thanks to war field spying robots. This can help prevent incidences of
friendly fire and save lives.
5.3.3. Soldiers
Soldiers on the ground can benefit from war field spying robots by providing
situational awareness and early warning of potential threats. This can assist
them in making better decisions and remaining safe during combat operations.
5.3.4. Civilians
In some cases, war field spying robots can be used to monitor areas affected by
natural disasters or humanitarian crises, allowing aid organisations to better assess
the situation and deliver aid.
4. Advanced sensors and technology for accurate and detailed data collection.
3
5. Results and
5.3.6. Justice
5.3.6.1 Transparency and Accountability
There are explicit norms and regulations governing the use of spying robots, and
their use is open to the public. In order to guarantee that the employment of
surveillance robots does not infringe upon human rights or endanger civilians,
accountability systems have also been put in place.
The risk to both locals and visitors may have been reduced with the use of surveil-
lance robots.
The use of surveillance machines has contributed to effective and moral monitoring.
This means assessing how spy robots will impact security operations, innocent
bystanders, and individual rights then taking the appropriate remedial action as
needed.
4
6. Conclusion
6.1. Conclusion
In conclusion, the use of spy robots in conflict has evolved into a key component
of contemporary situation. These robots have shown to be quite successful at
gathering crucial intelligence, lowering the possibility of human losses, and
giving security troops a tactical advantage. Yet, the deployment of surveillance
robots also brings up a number of moral issues with regard to their appropriate
application. The ethical implications of spying robot development and
deployment must be carefully considered. To ensure their appropriate usage and
reduce unintended consequences, it is crucial to create explicit standards and
protocols. These robots can be made more effective while posing less risks by
making investments in research and development to increase their capabilities,
integrating them with other military technologies, and giving military people the
necessary training. Here are a few suggestions for the future that might be taken
into account to improve the capabilities of spying robots and their successful
application in the field of violent conflict:
6.2. Innovations
To create surveillance robots that are more compact and fast that can operate
in confined locations and challenging environment, researchers can investigate
miniaturization techniques. This may improve their capacity to gather information
in intricate urban settings.
4
6. Conclusion