Project Overview :

● Here we are going to train a AI model that will detect the objects. After labelling that .xml file data should be saved in .csv then we have to change the .csv file data format.
● We have to remove the unwanted data. Check the pervious projects to know, how to do the labelling, xml data manipulation and tensorflow installation.

Requirements :

● Raspberry Pi 3 Model B+ .
● Python3 .
● Tensorflow.

Initial setup for RPI-TENSORFLOW :


📚 Click Here , for the initial setup

SPECIFICATION :
Raspberry Pi 3 Model B+

The Raspberry Pi 3 Model B+ is the latest product in the Raspberry Pi 3 range, boasting a 64-bit quad core processor running at 1.4GHz, dual-band 2.4GHz and 5GHz wireless LAN, Bluetooth 4.2/BLE, faster Ethernet, and PoE capability. The dual-band wireless LAN comes with modular compliance certification, allowing the board to be designed into end products with significantly reduced wireless LAN compliance testing, improving both cost and time to market.



● Processor: Broadcom BCM2837B0, Cortex-A53 64-bit SoC @ 1.4GHz .
● Memory: 1GB LPDDR2 SDRAM.
● Connectivity: 2.4GHz and 5GHz IEEE 802.11.b/g/n/ac wireless LAN, Bluetooth 4.2, BLE Gigabit Ethernet over USB 2.0 (maximum throughput 300Mbps) 4 × USB 2.0 ports.
● Access: Extended 40-pin GPIO header.
● Video & Sound: 1 × full size HDMI, MIPI DSI display port, MIPI CSI camera port, 4 pole stereo output and composite video port.
● Multimedia: H.264, MPEG-4 decodes (1080p30); H.264 encode (1080p30) OpenGL ES 1.1, 2.0 graphics.
● SD card support: Micro SD format for loading operating system and data storage.
● Input Power: 5V/3.1A DC via micro USB connector, 5V DC via GPIO header, Power over Ethernet (PoE)–enabled.

Procedure :

● After labelling that .xml file data should be saved in .csv then we have to change the .csv file data format. We have to remove the unwanted data.
● Here is the sample .csv file format. 👉🏻 Download For Data File !!!




● Change the old .csv file to this format and change the header also.
● Install LibreOffice Base & Jupyter notebook for edit the file.
● Run the following commends one by one to install jupyter notebook in terminal,

Code :

sudo su -
apt-get update
apt-get install python3-matplotlib
apt-get install python3-scipy
pip3 install --upgrade pip
reboot
sudo pip3 install jupyter
sudo apt install epiphany
sudo update-alternatives --config x-www-browser
sudo reboot
jupyter-notebook

● Download and extract the file given below and run one.i in Jupyter notebook. And run the cells one by one 👉🏻 Download For Data File !!!




Code :

OUTPUT :

● After training we can see the .h5 file that’s the trained AI model. Follow the next project to know how to use this model to control the rover.




« Home

×