Skip to content

Instantly share code, notes, and snippets.

View prilcool's full-sized avatar
🎯
Focusing Good things #yolo

Prilvesh Krishna prilcool

🎯
Focusing Good things #yolo
View GitHub Profile
@prilcool
prilcool / README.md
Created August 1, 2020 03:35 — forked from nikcub/README.md
Facebook PHP Source Code from August 2007
@prilcool
prilcool / flaskplotlib.py
Created August 14, 2020 06:24 — forked from wilsaj/flaskplotlib.py
Example of rendering a matplotlib image directly to Flask view
from flask import Flask, make_response
app = Flask(__name__)
@app.route("/simple.png")
def simple():
import datetime
import StringIO
import random
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
@prilcool
prilcool / SKILL.md
Created July 14, 2026 14:23 — forked from tandpfun/SKILL.md
Extract Clothing Skill
name extract-clothing-cutouts
description Extract high-quality, deduplicated transparent ecommerce clothing cutouts from a folder of photographs where people wear one or more garments. Use when Codex must find outfit or model photos, identify unique clothing across images, create focused references, reconstruct complete garments with Imagegen, remove a solid chroma background into RGBA PNGs, and output only the finished clothing images into a new folder under the current working directory.

Extract Clothing Cutouts

Turn photographs of worn clothing into source-faithful standalone catalog PNGs. Treat each result as a reconstruction from visible evidence, not literal segmentation whenever the wearer or another layer occludes part of the garment.

Start by asking for two paths