Skip to content

Instantly share code, notes, and snippets.

View symisc's full-sized avatar

PixLab | Symisc Systems symisc

View GitHub Profile
@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 / 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-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 / 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/
@symisc
symisc / text-watermark-remove.py
Created September 22, 2025 01:15
Programmatically remove text & watermarks from input images using the PixLab TXT-REMOVE API endpoint - https://pixlab.io/endpoints/text-watermark-remove-api
import requests
import json
import base64
import os
# 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.
@symisc
symisc / remove-background-pixlab-api.rb
Created September 1, 2025 03:12
Programmatically remove backgrounds from input image using the PixLab BG-REMOVE API Endpoint - https://pixlab.io/endpoints/background-remove-api
require 'net/http'
require 'json'
require 'base64'
require 'uri'
# 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.
@symisc
symisc / remove-background-pixlab-api.php
Created September 1, 2025 03:04
Programmatically remove backgrounds from input image using the PixLab BG-REMOVE API Endpoint - https://pixlab.io/endpoints/background-remove-api
<?php
# 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.
$url = 'https://api.pixlab.io/bgremove';
@symisc
symisc / remove-background-pixlab-api.js
Created September 1, 2025 03:02
Programmatically remove backgrounds from input image using the PixLab BG-REMOVE API Endpoint - https://pixlab.io/endpoints/background-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/
const apiUrl = 'https://api.pixlab.io/bgremove';
@symisc
symisc / remove-background-pixlab-api.py
Created September 1, 2025 03:00
Programmatically remove backgrounds from input image using the PixLab BG-REMOVE API Endpoint - https://pixlab.io/endpoints/background-remove-api
import requests
import json
import base64
import os
# 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.