Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Building a 100% Browser-Local Photo-to-Sticker Maker with ONNX Runtime Web, Polygon Nesting & 1:1 Print Calibration

Most online sticker makers follow the same pattern: upload your personal or family photo to a cloud server, wait in a queue, and pay to remove a watermark. While building PhotoToSticker.ai , I wanted to see how far we could push a 100% browser-local workflow—where photos never leave the user's device, transparent PNGs export without watermarks, and physical print sheets actually come out at the…

PhotoToSticker.ai is a revolutionary browser-based photo-to-sticker maker that eliminates the need for cloud servers and watermarks. Founder X built the service with a strong emphasis on local processing and accuracy.

Running AI background removal locally is one of the most complex challenges. Instead of relying on expensive GPU inference servers, PhotoToSticker utilizes the open-source ORMBG segmentation model directly in the browser using ONNX Runtime Web. This approach ensures that user photos remain private and that the service works on any device, including iPhones with HEIC images.

While the model struggles with some images, a local canvas Erase/Restore brush editor helps users manually fix issues. Additionally, a desktop pass enables up to a 1024 high-precision pass for even better results.

Polygon nesting is another crucial feature for maximizing sticker efficiency on A4 sheets. Instead of using a naive rectangular grid, the browser-side PDF generator (pdf-lib) implements a two-layer Contour cut workflow. This includes boundary tracing, hull simplification, and rotation-aware polygon nesting with a minimum 5 mm scissor gap.

The process often fits 30-50% more stickers on a single A4 sheet compared to a traditional grid layout. Dual vector cut lines are used for faster initial sectioning and finer final contours.

To address the issue of monitor calibration and ensure sticker sizes are accurate, PhotoToSticker provides a full-screen 100% Real-Size Sheet Preview. This preview is accompanied by a 5-second bank card calibration process, where users hold a standard ISO card flat against a dashed box and adjust a slider. The calibration data is saved in localStorage, allowing subsequent prints to be within ±1% accuracy. The service is completely free and available without any sign-up at phototosticker.ai.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Canary deployment: shipping to a few users before you ship to everyone

Most teams have a release story they'd rather not tell. A config change looks harmless in review. It passes CI. It goes out on a Friday afternoon, and twenty minutes later support is forwarding…

  • Canary deployments gradually roll out new software versions to a small user subset.
  • Named after coal miners' canaries detecting toxic gases, canaries warn of software issues.
  • Monitor error rates, latency, and business metrics during canary deployments; rollback if needed.

Server-Side Ad Insertion (SSAI) for Streaming, FAST and CTV: A Managed Service, Your Platform's Option, or Your Own Stitcher

Originally published at ambrain.org . What server-side ad insertion changes compared with ads loaded by the player, and what a managed SSAI service, the option built into your video platform or ad…

  • Server-side ad insertion (SSAI) inserts ads on server, not viewer's device.
  • Three ways to implement SSAI: managed service, platform option, or custom stitcher.
  • Managed services offer ad personalization, transcoding, and viewer data reporting.

Third-party SDKs in your app under the CRA: the due-diligence duty in Article 13(5)

When you publish an app, the SDKs inside it are your responsibility as the manufacturer. Article 13(5) asks you to exercise due diligence so that components from third parties do not compromise the…

  • Article 13(5) mandates due diligence for third-party SDKs in apps.
  • Manufacturers are responsible for ensuring integrated components don't compromise cybersecurity.
  • Recommendations include using scanners and maintaining an SBOM for compliance.

More from Tuesday, 1 December 2026 →