LAB 2 TEAM 10 - Nikhilkrishnas/cs5551_10-1_lab GitHub Wiki

TEAM DETAILS:

  1. NAME: Nikhil Shravan Krishna Sanka

    CLASS ID: 45

    TEAM NUMBER: 10-1

  2. NAME: Sri Venkat Sumanth Sanakkayala

    CLASS ID: 44

    TEAM NUMBER: 10-1

OBJECTIVE

PART-1

  • To create an android application with
  1. Login and registration pages with sign up and login activities using firebase as cloud service.
  2. In the homepage, we use
  3. Use the phone camera to scan the food item.

PART-2

  • To create an ionic application having
  1. A main page with youtube api.
  2. We use cordova plugins for youtube video player for the youtube and the camera plugin for the face recognition.

PART-1 (ANDROID APPLICATION)

LOGIN PAGE

  • The login page consists of two text input fields for the username and password. We use the firebase to store and retrieve the user details.

Code for the login page-:

Output for the login page-:

REGISTRATON PAGE

  • The registration page consists of the text input fields for the user's details and stores it in the firebase.

Code for the registration page-:

Output for the registration page-:

HOME PAGE

  • The homepage consists of a scan option in which we can scan the food item and the code recognizes the data and gives the result.
  • The homepage consists of scan button and logout option.
  • The output will appear as shown below-:
  • We use the firebase url and key in the code to store the data.
  • When we scan the image, this following code takes it to the api and does the image referencing.

PART-2 (IONIC APPLICATION)

  • This application has two features-
  1. Video search using the youtube api.
  2. Gender detection using azure face api.

Youtube api

  • Youtube api gets the results of the videos for the searched terms.

  • Code snippets:

  • Outputs:

Gender Detection api

  • Gender detection api uses azure api and gets us the gender of the person in the image.

  • Code Snippets:

  • Outputs:

Youtube Video Link - https://www.youtube.com/playlist?list=PLCPM60HySG_vF4yLUjuy5u_xDXQX4ykmX

Github Code Link - https://github.com/Nikhilkrishnas/cs5551_10-1_lab/tree/master/lab2