View tiny_dream_boilerplate.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "tinydream.hpp" | |
auto main() -> int { | |
return 0; | |
} |
View check_facial_id.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
# Perform authenticity check of a given Facial ID. | |
# In other words, make sure the supplied Facial ID is valid & registered on this FACEIO application. | |
# Refer to https://faceio.net/rest-api for additional information | |
req = requests.get('https://api.faceio.net/checkfacialid',params={ | |
"fid":"FACIAL_ID", # Target Facial ID being checked | |
"key": "FACEIO_APP_API_KEY" # Your FACEIO Application API Key. Retrieve this key from the Application Manager on the console at: https://console.faceio.net | |
}) |
View faceio_integration_boilerplate.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>FACEIO Integration Boilerplate</title> | |
<style> | |
.container { | |
text-align: center; | |
} |
View scan_us_driver_license_id.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Usage sample of the US Driver's License card scanner, API endpoint from PixLab - https://pixlab.io/cmd?id=docscan. | |
*/ | |
/* | |
* PixLab PHP Client which is just a single class PHP file without any dependency that you can get from Github | |
* https://github.com/symisc/pixlab-php | |
*/ | |
require_once "pixlab.php"; | |
# Given a submitted/uploaded, US Driver License image document from any of the 50 US state |
View scan_us_driver_license_id.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
# Given a submitted/uploaded, US Driver License image document from any of the 50 US state | |
# crop the license holder face, and extract all document fields (see below) ready to be consumed by your application. | |
# | |
# PixLab recommend that you connect your AWS S3 bucket via the dashboard at https://pixlab.io/dashboard | |
# so that any extracted face is automatically stored on your S3 bucket rather than the PixLab one. | |
# This feature should give you full control over your analyzed media files. | |
# |
View pixlab_scan_passport_local_image_upload.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
# Given a Passport document, extract the passport holder face and convert/parse all Machine Readable Zone | |
# to textual content ready to be consumed by your application. | |
# | |
# PixLab recommend that you connect your AWS S3 bucket via the dashboard at https://pixlab.io/dashboard | |
# so that any extracted face or MRZ crop is automatically stored on your S3 bucket rather than the PixLab one. | |
# This feature should give you full control over your analyzed media files. | |
# |
View delete_facial_id.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
# Programmtically delete (total purge) a Facial ID, its associated payload data, | |
# and biometric hash from a given FACEIO application - Refer to https://faceio.net/facialid for additional information | |
req = requests.get('https://api.faceio.net/deletefacialid',params={ | |
"fid":"FACIAL_ID", # Target Facial ID to purge from this FACEIO application. Find out more information about the Facial ID on https://faceio.net/facialid | |
"key": "FACEIO_APP_API_KEY" # Your FACEIO Application API Key. Retrieve this key from the Application Manager on the console at: https://console.faceio.net | |
}) | |
reply = req.json() |
View uae_emirates_id_card_scan.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
# Given a government issued ID card from the UAE (emirates). Extract the holder's face and d aisplay all scanned fields. | |
# | |
# PixLab recommend that you connect your AWS S3 bucket via your dashboard at https://console.pixlab.io/ | |
# so that any cropped face or MRZ crop is stored automatically on your S3 bucket rather than the PixLab one. | |
# This feature should give you full control over your analyzed media files. | |
# | |
# https://pixlab.io/cmd?id=docscan&&country=uae for additional information. |
View uae_emirates_id_card_scan.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Usage sample of the UAE ID card scanner API endpoint from PixLab - https://pixlab.io/cmd?id=docscan. | |
*/ | |
/* | |
* PixLab PHP Client which is just a single class PHP file without any dependency that you can get from Github | |
* https://github.com/symisc/pixlab-php | |
*/ | |
require_once "pixlab.php"; | |
# Given a government issued ID card from the UAE (emirates). Extract the holder's face and display all scanned fields. |
View pixlab_random_pixelgenerate.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* PixLab PHP Client which is just a single class PHP file without any dependency that you can get from Github | |
* https://github.com/symisc/pixlab-php | |
*/ | |
require_once "pixlab.php"; | |
# Generates a set of random pixels of desired Width & Height. | |
# This endpoint is similar to the /newimage endpoint except that the image contents is filled with random pixels. | |
# This is very useful for generating background (negative) samples for feeding Machine Learning training algorithms. |
NewerOlder