Skip to content

An Android application for campus voting or elections, utilizing facial recognition technology with an Android-based system and web service

License

Notifications You must be signed in to change notification settings

alexistdev/Facevoting

Repository files navigation

Facevoting Application

This is a facial detection validation application for verifying campus voting.

Details:

Installation Instructions:

  1. Clone the repository:
    git clone https://github.com/alexistdev/Facevoting.git
  2. Create a database and import the database file located in the Facevoting folder.
  3. Run the following command in the terminal:
    composer install
  4. Update config.php and database.php with the appropriate URL and database configurations.
  5. Open Postman and access the API endpoint at: http://localhost/Facevoting/api/
  6. Open the Android project files located in the "android" subfolder using Android Studio.
  7. Modify config.java with your localhost or web hosting URL settings.
  8. Create an account at facex.io and obtain your API KEY.
  9. Open Controller/api/Gambar.php and check the _banding() method. Insert your API key in the following section:
    $headers[] = 'User_id: 603f05b94e6c5e6c15c171e7';
  10. Change the URL in the _banding() method to use base_url():
    $post = array(
      'img_1' => 'http://facevoting.xyz/gambar/user/'.$photoAwal,
      'img_2' => 'http://facevoting.xyz/gambar/user/'.$photoPembanding
    );

Screenshots

Splash Activity Face Detection Voting Page
Splash Activity Face Detection Voting Page

About

An Android application for campus voting or elections, utilizing facial recognition technology with an Android-based system and web service

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •