You are on page 1of 7

Advanced Driver Assistance System

Dr. Shree Prasad M.


Asst. Prof., Dept. of E.E.E.,
BITS Pilani
Off-Campus, Bangalore.

Advanced Driver Assistance System 1/7 BITS Pilani, Pilani Campus


Outline

1 Installing Anaconda

2 Scientific Computing Using Python

Advanced Driver Assistance System 2/7 BITS Pilani, Pilani Campus


Installing Anaconda

Download and Install the Anaconda distribution.


Anaconda distribution installs Python and the necessary
packages/libraries required for performing efficient scientific
computing.

Advanced Driver Assistance System 3/7 BITS Pilani, Pilani Campus


Launch Anaconda Navigator

Launch/Run Anaconda Navigator application.

Launch the Spyder GUI software, which provides an easy platform for
writing Python program and viewing the variables used in the
program.

Advanced Driver Assistance System 4/7 BITS Pilani, Pilani Campus


Spyder GUI

Create a new script file by selecting “New File” under “File” menu.

Python program is typed in “New file” and is executed by selecting


“Run” option under “Run” menu.
Simple Python statement/commands can also be executed in Console
window.
Advanced Driver Assistance System 5/7 BITS Pilani, Pilani Campus
Required Packages/Libraries

Required packages for scientific computing.


* Numpy.
* Matplotlib.
* Pandas.
* Opencv-Python.
* Tensorflow.
* Pytorch.

Advanced Driver Assistance System 6/7 BITS Pilani, Pilani Campus


Numpy

Numerical Python (Numpy): Provides functions for creating


multi-dimensional arrays and functions for performing mathematical
operation on arrays.
Numpy package should be invoked in every program to use its built in
functions.
Python statement for invoking Numpy package
“import numpy as np”
“import” invokes/calls the package. With “numpy as np” statement,
numpy package will be addressed as “np” in the Python script.

Advanced Driver Assistance System 7/7 BITS Pilani, Pilani Campus

You might also like