Facial Investigator is an investigation app that can be used by the officials of an investigation agency.Criminal records of a suspected person can be fetched if existing by recognizing the facial descriptors.Information and photograph of new wanted persons can be added to database. Details of a rescued missing person can be fetched if found in records by analyzing facial features.More cases of missing people can be registered.Only authorized users can access the app through their face ID.Users can also edit their profile images.
- Fetches information about suspected criminal
- Captures a snap of the suspected person's face and checks if any criminal record of the person exists and displays all the details.
- Add new criminal records
- Details like name,crime,regional police,since when is the person wanted and photograph of new criminal people can be entered in the database.
- Informs the user if no face was detected and to add a clear image
- Displays the details of a rescued person
- Takes a pic of the reported person to be rescued and checks if any information of the person exists and displays all the details.
- Upload new data to database of missing people
- Enter details like name,contact,address of new people who went missing in the database.
- Informs if the uploaded image is not in valid format and to upload again.
- Authentication using face id and password
- New users must sign up using email,password and face ID.
- Informs if an image without any face was used for SignUp.
- Existing users may log in with email and faceID.
- User can view/update profile
- Details of the logged in user are displayed.
- Option to edit the image of the user.
- Sessions created for login
- The user who has logged in is remembered by creating sessions.
- A non logged in user cannot access the authorized pages by typing their url.
- Passwords are stored securely in hashed form using bcrypt
- Responsive Website,can be easily used in mobile devices.
-
Front End/Client Side
- ReactJS
-
BackEnd Server:
- Express NodeJS
- face-api.js built over TensorFlowJS - Facial Detection
- Heroku NodeJs environment - deployment.
- Multer - Save images in server temporarily for identification.
- Sharp - Conversion image to jpeg format
-
Data Management (Database):
- MongoDB - Data management and hosting
- Cloudinary - Storing images in form of url.
- Run
npm installin the root directory to install all necessary dependencies. - Run
cd clientand again, runnpm installto install dependencies for client side. - Move
C:\facial-recog\node_modules\@tensorflow\tfjs-node\deps\lib\tensorflow.dlltoC:\facial-recog\node_modules\@tensorflow\tfjs-node\lib\napi-v5\
- In the root directory, run
nodemon .\server.jsto start the backend server. - Run
cd clientand then runnpm startto start the react app server.