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 | |
# Change the PIN Code of a given Facial ID on a FACEIO application | |
# Refer to: https://faceio.net/rest-api#setfacialidpincode for the official documentation & expected parameters | |
req = requests.post('https://api.faceio.net/setfacialidpincode',json={ | |
"fid": "FACIAL_ID", # Target Facial ID to change the PIN code for | |
"pin": "1234", # New PIN Code for this user. Must be a numeric STRING! | |
"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 | |
}) |
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
/* | |
* Programming introduction with the SOD Embedded Image Processing API. | |
* Copyright (C) PixLab | Symisc Systems, https://sod.pixlab.io | |
*/ | |
/* | |
* Compile this file together with the SOD embedded source code to generate | |
* the executable. For example: | |
* | |
* gcc sod.c gaussian_blur_image.c -lm -Ofast -march=native -Wall -std=c99 -o sod_img_proc | |
* |
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 | |
# Scan government issued ID card from Malaysia (MyKAD, MyKID)., extract the user face and parse all fields. | |
# | |
# Usage sample of the ID card scanner from PixLab. | |
# | |
# In this sample, we shall scan ID Card from Malaysia (MyKAD); | |
# therefore we will extract the user's face, date of birth, full name, address, | |
# and religion if available. |
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 ID card scanner from PixLab. In this sample, we shall scan | |
* ID Card from Malaysia (MyKAD); therefore we will extract the user's face, date of birth, | |
* full name, address, and religion if available. | |
*/ | |
/* | |
* 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 | |
*/ |
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
/* | |
* Tiny Dream Integration Boilerplate. | |
* | |
* Compile this file together with the Tiny Dream header (tinydream.hpp) to generate | |
* the executable. Example of heavy optimized compilation under g++: | |
* | |
* g++ -o tinydream boileplate.cpp -funsafe-math-optimizations -Ofast -flto=auto -funroll-all-loops -pipe -march=native -std=c++17 -Wall -Wextra `pkg-config --cflags --libs ncnn` -lstdc++ -pthread -Wl -flto -fopt-info-vec-optimized | |
* | |
* To run the program simply type: | |
* |
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
! | |
" | |
# | |
$ | |
% | |
& | |
' | |
( | |
) | |
* |
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 | |
}) |
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
*, | |
*::before, | |
*::after { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
font-family: "Poppins", sans-serif; | |
} | |
section { |
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; | |
} |
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 |
NewerOlder