arislaode / AI

Project test Astra International

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Soal No 1 :

>> Output for no_1.py 
    show name and email in terminal.

>> command line:
    > /home/xwork/task/AI$ python3 no_1.py  
    Name :  La Ode Aris Saputra
    Email :  laodearissaputra94@gmail.com

Soal No 2 :

>> Output for no_2.py 
    Convert colour image to black & white the save in path.

>> command line:
    > /home/xwork/task/AI$ python3 no_2.py  
    Success! Please check your path image

    Note : check path image for the result

Soal No 3 :

>> Requirment

- pip3 install Flask

>> Output for no_3.py:
    show endpoint API Flask with sample Books

>> command line for running flask:
    > /home/xwork/task/AI$ python3 no_3.py

>> Check result endpoint api:
    > Open browser
    > For all result, open url http://127.0.0.1:5000/api/v1/sources/books/all 
    > By ID result , open url http://127.0.0.1:5000/api/v1/sources/books?id=2

Soal No 4 :


>> Requirment

- pip3 install robotframework
- pip3 install robotframework-seleniumlibrary

>> Output for no_4.py:
    Automation for browsing in google with the html report result

>> command line:
    > /home/xwork/task/AI/no_4$ robot test/start_close_google.robot

>> Check result:
    > generate log.html, report.html and output.xml
    > open report.html for check result testing

Soal No 5 :

>> Requirment

- pip3 install opencv-python

>> Output for no_5.py:
    Detect face and create rectangle in the result photo then save it.

>> command line:
    > /home/xwork/task/AI$ python3 no_5.py
      Success! Please check path image_face

    Note : check path image_face for the result

Soal No 6 :

>> Requirment

- pip3 install opencv-python

>> Output for no_5.py:
    Detect face and show it from webcame with rectangle in the result video.

>> command line:
    > /home/xwork/task/AI$ python3 no_6.py

Soal No 7 :

>> Requirment

- apt install cmake
- pip3 install dlib
- pip3 install face_recognition
- pip3 install scipy

>> Output for compare_image.py:
    Distance and Boolean value. Distance is higher means it is false and lower is True

>> command line for similiar:
    > /home/xwork/task/AI/no_7$ python3 compare_image.py images/dian.png images/maya.png  
    Percentage :  0.5091928037731813
    True Similiar

>> command line not similiar:
    > /home/xwork/task/AI/no_7$ python3 compare_image.py images/andre.jpg images/sulle.jpg
    Percentage :  0.7099653062063886
    False Similiar

About

Project test Astra International


Languages

Language:Python 83.3%Language:RobotFramework 16.7%