Anda di halaman 1dari 23

SIC Batch 5

Week 0 - Python Introduction


Apa itu Python?
❏ Python merupakan bahasa pemrograman tingkat tinggi dan merupakan salah satu bahasa
pemrograman terpopuler di dunia.
❏ Python adalah salah satu _general purpose programming language_ yang dapat digunakan
untuk berbagai aplikasi. Sehingga python banyak digunakan untuk berbagai macam
program dimulai dari Artificial Intelligence, IoT, Data Science, Web Development hingga
Automation
❏ Karena bisa dipakai untuk berbagai macam aplikasi, python menjadi salah satu bahasa
pemrograman yang paling diminati
Mengapa Python Begitu Terkenal?

Python dapat ditulis dan diinterpretasikan sama seperti bahasa sehari-hari manusia, sehingga
mudah dibaca dan dipelajari oleh pemula. Anda dapat merancang alur program dalam bahasa
manusia dan mengubahnya ke kode Python yang sebenarnya dengan sangat mudah.
Mengapa Python Begitu Terkenal? ( Industry Use )

Python tidak hanya diminati di bidang pendidikan tetapi juga oleh banyak developer di Perusahaan
ternama, termasuk Google, Intel, eBay, Netflix, Instagram, Dropbox, dan Slack, menggunakan Python untuk
mengembangkan dan memelihara aplikasi mereka

➢ Google menggunakan python


untuk meningkatkan kapabilitas
search engine
➢ Netflix menggunakan python
untuk merekomendasi film, TV
Shows berdasarkan historical data
➢ Instagram menggunakan python
mempersonalisasi bagian explore
untuk pengguna
➢ dan lain-lain
Mengapa Python Begitu Terkenal? ( Library )

Python memiliki berbagai library dan tools, seperti pandas, NumPy, SciPy, Matplotlib, TensorFlow, dan Keras,
yang dapat digunakan secara luas di berbagai bidang seperti pengembangan web, analisis data, dan
kecerdasan buatan ( Artificial Intelligence )

➢ TensorFlow didasarkan pada aliran


data dan pemrograman diferensial,
yang berfokus pada deep neural
network untuk machine learning
➢ Pandas digunakan untuk
manipulasi dan analisis data,
terutama menampilkan tabel
numerik dan operasi deret waktu
➢ dan lain-lain
Aplikasi Python
Tools yang dipakai

https://www.programiz.com/python-programming/online-compiler/ https://replit.com/~
Python Use Case
Vision Related AI-IoT

Mask Temperature Face


Face detection
Detection Scanning Recognition

Qlue Thermal

AI-IoT Device for detecting user’s temperature and mask. Included features such as face detection, face recognition, mask detection
combined with infrared temperature scanner and edge computing.
Vision Related AI-IoT

Vehicle Vehicle PLC


Classification Counting Programming

Dynamic Traffic Control

Combination of Vision AI and Industrial Controller for dynamically managing traffic.


Included features such as vehicle counting, vehicle recognition integrated with PLC’s, Relay and Timers to control traffic light duration
Vision Related AI-IoT

Vehicle License Plate Voice


Text To Speech
Classification Recognition Actuator

Smart Speaker

Combination of Vision AI and Speaker with Smart Controller for actuate warning message via the speaker when a vehicle is illegally parked. Incl
features such as vehicle plate recognition, vehicle dwelling recognition integrated with the speaker to actuate text to speech system.
Speech Recognition
Speech Recognition

Speech Recognition combined


multi-array microphone for
detecting the user’s voice
direction and location. The project
goals is to locate user’s position
from his/her voice with the
correct word. This feature is used
for the service robots so the user
can easily ask the robot to come
near them.
Robot Automatic Docking

Marker Pose ROS


Motor Control
Detection API Estimation Framework

Marker Detection for Automatic Docking

Marker Detection is utilizing Camera and AI to estimate the location of an object in respect to the robot’s current position. This is used for the ro
charging station automatically when the battery is running out.
Routing Optimization

Google Routes Google Maps GPS Tracker


API API Integration

By utilizing the Google open source Routing SDK and API, the routing optimization project is used for automatically assign fleet and destination
most optimum order. This involves guaranteeing timely deliveries, maximizing the use of resources, and implementing most cost-efficient metho
Python 101
Python Data Type Basics
Variable Declaration

● b = “joshua” → string
● x,y = 12,13 → integer
● sebuah_tuple = (1,2,3) → tuple
● a=b=c=[1,2,3] → lists
Variable Declaration Rules!!!

● Identifier dapat berupa kombinasi huruf atau angka atau garis bawah (_), tetapi tidak
dapat terdiri dari simbol khusus apa pun.
● Identifier tidak dapat dimulai dengan angka.
● Identifier tidak boleh berisi spasi atau tab.
● Identifier peka terhadap huruf besar dan kecil. Oleh karena itu, variabel index dan INDEX
adalah variabel yang berbeda.
● Identifier tidak dapat menggunakan salah satu dari Python Reserved Words.
Print Function and Comments

● Print function berguna untuk menampilkan output program pada console


○ Syntax : print(...), i.e print(“Hello World!”)

● Comments berguna sebagai penanda bahwa perintah tersebut tidak dieksekusi oleh
program
○ Comment dapat dilakukan dengan
■ # untuk meng-comment 1 line
■ “”” untuk comment beberapa line code
Comparison Operator
Arithmetic Operator
Q&A

Anda mungkin juga menyukai