This is a facial detection validation application for verifying campus voting.
- Minimum PHP version: 5.3.7
- CodeIgniter 3.1.11: Download
- CodeIgniter-RestServer 3.1: Repository
- AdminLTE 3.0.5: Website
- Image Processing Facex: Website
- Clone the repository:
git clone https://github.com/alexistdev/Facevoting.git
- Create a database and import the database file located in the Facevoting folder.
- Run the following command in the terminal:
composer install
- Update
config.phpanddatabase.phpwith the appropriate URL and database configurations. - Open Postman and access the API endpoint at:
http://localhost/Facevoting/api/ - Open the Android project files located in the "android" subfolder using Android Studio.
- Modify
config.javawith your localhost or web hosting URL settings. - Create an account at facex.io and obtain your API KEY.
- Open
Controller/api/Gambar.phpand check the_banding()method. Insert your API key in the following section:$headers[] = 'User_id: 603f05b94e6c5e6c15c171e7';
- Change the URL in the
_banding()method to usebase_url():$post = array( 'img_1' => 'http://facevoting.xyz/gambar/user/'.$photoAwal, 'img_2' => 'http://facevoting.xyz/gambar/user/'.$photoPembanding );
| Splash Activity | Face Detection | Voting Page |
|---|---|---|
![]() |
![]() |
![]() |


