Skip to content

Instantly share code, notes, and snippets.

View symisc's full-sized avatar

PixLab | Symisc Systems symisc

View GitHub Profile
@symisc
symisc / passport_img_scan.php
Last active May 7, 2026 01:40
Scan over 11K ID Documents from over 197 countries using the PixLab DOCSCAN API Endpoint documented at: https://pixlab.io/id-scan-api/docscan
<?php
/*
* Scan over 11K ID Documents from over 197 countries using the PixLab DOCSCAN API Endpoint
* documented at: https://pixlab.io/id-scan-api/docscan
*
* Refer to the official documentation at: https://pixlab.io/id-scan-api/docscan
* for the API reference guide and more code samples.
*/
# ID Document prototype: Of course, replace with a real government issued ID if you
@symisc
symisc / scan_passport_pixlab_api.py
Last active May 7, 2026 01:38
Scan over 11K ID Documents from over 197 countries using the PixLab DOCSCAN API Endpoint documented at: https://pixlab.io/id-scan-api/docscan
import requests
import json
# Scan over 11K ID Documents from over 197 countries using the PixLab DOCSCAN API Endpoint
# documented at: https://pixlab.io/id-scan-api/docscan
#
# Refer to the official documentation at: https://pixlab.io/id-scan-api/docscan
# You can switch to GET if your input ID DOCUMENT image URL is publicly available.
req = requests.post(
@symisc
symisc / pixlab-docscan-passport-scan-js-example.js
Last active May 7, 2026 01:30
Scan over 11K ID Documents from over 197 countries using the PixLab DOCSCAN API Endpoint documented at: https://pixlab.io/id-scan-api/docscan
/*
* Scan over 11K ID Documents from over 197 countries using the PixLab DOCSCAN API Endpoint
* documented at: https://pixlab.io/id-scan-api/docscan
*
* Refer to the official documentation at: https://pixlab.io/id-scan-api/docscan
* for the API reference guide and more code samples.
*/
async function scanDocument() {
try {
const apiKey = 'PIXLAB_API_KEY'; // Your PixLab API key. Get yours from: https://console.pixlab.io
@symisc
symisc / pixlab-docscan-passport-scan-ruby-example.rb
Last active May 7, 2026 01:26
Scan over 11K ID Documents from over 197 countries using the PixLab DOCSCAN API Endpoint documented at: https://pixlab.io/id-scan-api/docscan
=begin
* Scan over 11K ID Documents from over 197 countries using the PixLab DOCSCAN API Endpoint
* documented at: https://pixlab.io/id-scan-api/docscan
*
* Refer to the official documentation at: https://pixlab.io/id-scan-api/docscan
* for the API reference guide and more code samples.
=end
require 'net/http'
require 'uri'
@symisc
symisc / numpy_cpp_interchange.cpp
Last active April 2, 2026 18:45
Symisc syNumpy C++ usage sample program - https://pixlab.io/numpy-cpp-library - A Modern C++17 Library for NumPy Arrays
/* Symisc syNumpy: C++ usage sample program.
* Copyright (C) 2026, Symisc Systems https://pixlab.io/numpy-cpp-library
* Version 1.9.7
* For information on licensing, redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES
* please contact Symisc Systems via:
* legal@symisc.net
* licensing@symisc.net
* contact@symisc.net
* or visit:
* https://pixlab.io/numpy-cpp-library
@symisc
symisc / faceio_integration_boilerplate.html
Last active February 15, 2026 16:09
Authenticate and enroll users via face recognition on your websites or apps using the FACEIO JS SDK. Use this HTML boilerplate as a reference when implementing FACEIO on your website for the first time. For official documentation, visit https://faceio.net/integration-guide.
<!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;
}
@symisc
symisc / watermark-remove.php
Last active October 30, 2025 17:32
Programmatically remove text and watermarks from input images using the PixLab TXT-REMOVE API endpoint - https://pixlab.io/endpoints/text-watermark-remove-api
<?php
# Programmatically remove text & watermarks from input images using the PixLab TXT-REMOVE API endpoint.
#
# Refer to the official documentation at: https://pixlab.io/endpoints/text-watermark-remove-api for the API reference
# guide and more code samples.
# Use POST to upload the image directly from your local folder. If your image is publicly available
# then make a simple GET request with a link to your image.
$url = 'https://api.pixlab.io/txtremove';
@symisc
symisc / image-embedding.py
Last active October 13, 2025 00:27
Generate image embeding vector for a given image using the PixLab image embedding API - https://pixlab.io/endpoints/img-embed
import requests
import json
# Generate image embedding vector for a given image using the PixLab image embedding API
# Refer to: https://pixlab.io/endpoints/img-embed for the official documentation.
#
# Convert images into numerical vectors for efficient image classification, similarity search, and so on.
# Target Image URL we want to generate embedding for
# Change to any link or switch to POST if you want to upload your image directly.
@symisc
symisc / watermark-remove.rb
Created September 24, 2025 17:59
Programmatically remove text and watermarks from input images using the PixLab TXT-REMOVE API endpoint - https://pixlab.io/endpoints/text-watermark-remove-api
require 'net/http'
require 'json'
require 'base64'
require 'uri'
# Programmatically remove text & watermarks from input images using the PixLab BG-REMOVE API endpoint.
#
# Refer to the official documentation at: https://pixlab.io/endpoints/text-watermark-remove-api for the API reference
# guide and more code samples.
@symisc
symisc / watermark-text-remove.js
Created September 24, 2025 01:51
Programmatically remove text and watermarks from input images using the PixLab TXT-REMOVE API endpoint - https://pixlab.io/endpoints/text-watermark-remove-api
// Programmatically remove backgrounds from input images using the PixLab BG-REMOVE API endpoint.
//
// Refer to the official documentation at: https://pixlab.io/endpoints/background-remove-api for the API reference
// guide and more code samples.
// Use POST to upload the image directly from your local folder. If your image is publicly available
// then make a simple GET request with a link to your image.
const apiKey = 'PIXLAB_API_KEY'; // PixLab API Key - Get yours from https://console.pixlab.io/