Pioneer in Offering CRM Solutions since 2010...
Need Help ?


The customer was looking to build an AI based application to track and avoid repeat exams from the same students.

Following were the requirements from the customer

  • Validate the Passport size photo upload with some resolution criteria.
  • Capture and match real time face detection with passport size photos of the same person stored in the system.
  • 60% Face coverage in the photo
  • Match photo is stored with RealTime photo when the candidate appears for the exam.

Variance Team’s AI base solutions to the Customer

  • Identify the orientation of the image whether it is portrait or landscape.
  • The team did an implementation using pillow tools to reject those images that have a landscape view.

Support multiple image [JPEG, JPG, PNG] format when uploading

  • VIPL team implements a solution for image quality validation.
  • Different types of checks have been implemented as below,



    Bad Contrast



  • With the above check it will pass for further analysis of facial recognition.
  • The Variance Team uses a technique to validate the face to verify that the image contains the face of the person at the proper angle.
  • Also, the face of the person should cover some percentage of the image e.g., if there was a need that the face must cover 60% of the image otherwise the image is of no use.
  • Image comparison technique for fraud detection in examination centers.
  • The Variance AI team implemented image comparison with stored Photos during registration with the real-time photo of the student.
  • As per the criteria set it will allow/reject students from appearing for the examination if the image is mismatched.
  • image-comparision image-comparision
  • Image comparison also validates Background Verification with color based on the RGB values of the image.
  • The Image resizing technique is used to resize images based on aspect ratio.
  • The Variance AI team used the following scenarios to manage image resizing.
    • From The aspect ratio and height, it will calculate the width.
    • From The height, it will calculate the width and aspect ratio and resize the image accordingly.
    • From The height and width, it will auto-resize the image accordingly.
    • image-resizing
  • With image resizing, it will be easy for the exam center to properly validate face detection.

This feature was developed by the Variance AI team to compress images using various algorithms without lossing the image quality.


The following technique has been used to compress images.

  • RLE (Run-length encoding)


  • With facial recognition systems it reduces chances of the fake examination by comparing photos stored in the system with actual face during examination.
  • Importing an image with an optical scanner or digital photography.
  • Analysis and image management including data compression and image enhancement and visual detection patterns such as satellite imagery.
  • It produces the final stage where the result can be changed to an image or report based on image analysis.

Technology we used

Python, OpenCV, Scikit-Image, Albumentations, FastAPI, MongoDB


Trusted Customers

Contact Us About

By sending this form I confirm that I have read and accept Variance Infotech Privacy Policy

what happens next?

  • Our sales manager reaches you out within a few days after analyzing your business requirements
  • Meanwhile, we sign an NDA to ensure the highest privacy level
  • Our pre-sale manager presents project estimates and approximate timeline

We use cookies to provide better experience on our website. By continuing to use our site, you accept our Cookies and Privacy Policy.