Case studies/From eyewear photographs to organized catalog assets, automatically
AI image processingEyewear catalogWorkflow automationOperations platform

From eyewear photographs to organized catalog assets, automatically

Optifashion

Optifashion Studio brings the repetitive steps of eyewear image preparation into one workflow: upload photographs, let AI and eyewear-specific cleanup do the heavy lifting, then review, retry and download organized assets.

16 catalog files per product set

Explore the architecture
The outcome

One product shoot in. A complete, organized asset set out.

A front, angle and side photograph become 16 standard files: white-background and transparent versions, plus a close-up of the lens and temple arm.

Catalog-ready imagery

Clean backgrounds without losing the frame.

Clear lenses, thin rims and reflective surfaces are the hardest part of eyewear photography. The workflow is built around them, with image-level review for the exceptions.

For catalog teams

Upload, inspect, download

Track every job, open any image, retry just the one that needs it and export a single file or a ZIP.

Intakeweb upload or FTP
Reviewimage by image
Exportfile or ZIP
For operations

Controlled and traceable

Role-based access, versioned prompts, audit records and temporary download links keep a shared workspace under control.

Accessadmin and staff roles
Promptsversioned and testable
Historyaudit log
Product type
Eyewear
Ways in
Web upload, FTP inbox
AI
Gemini, experimental OpenAI
Per product set
16 standard files
01 / THE CHALLENGE

Eyewear is one of the hardest products to photograph for a catalog.

Clear lenses, thin rims, reflective surfaces and narrow temple arms make backgrounds hard to remove cleanly, and every product needs several views and file formats.

01

Right photo, right product

Front, angle and side views must stay attached to the correct product.

02

Delicate detail

Thin frames and clear lenses are easily damaged by a crude cutout.

03

Close-up views

Detail shots must line up across white and transparent versions.

04

Exceptions at scale

A few unsuitable results should not force a whole batch to be redone.

02 / HOW IT WORKS

How a photograph becomes a catalog asset

Two design decisions carry the workflow: one shared pipeline from intake to delivery, and image processing that is built around the shape of eyewear.

Decision 01

Every photograph had to end up with the right product, in every format.

Group photographs by product code and view from the filename, then run each group through one shared pipeline. Slow work happens in background queues, so the dashboard stays responsive, and finished files are delivered into product and format folders, or downloaded individually or as a ZIP.

Every photograph had to end up with the right product, in every format. Photographs arrive by web upload or an FTP inbox and are grouped by product code and view. They go through AI refinement, then background cleanup and detail crops, then a quality check, and finally organized files are delivered. Photos uploaded or dropped in FTP Grouped by product and view AI refinement Cleanup and detail crops Quality check Organized files delivered

Architecture Narrative

Photographs arrive by web upload or an FTP inbox and are grouped by product code and view. They go through AI refinement, then background cleanup and detail crops, then a quality check, and finally organized files are delivered.

Thin frames and clear lenses are easy to damage when removing a background. A refined photo passes through frame and lens protection, then backdrop and shadow cleanup, then one shared detail crop. A quality evaluation either approves the asset or sends it back for a bounded number of retries. Refined photo Frame and lens protection Backdrop and shadow cleanup One shared detail crop Quality evaluation Bounded retry Approved asset
Thin frames and clear lenses are easy to damage when removing a background. A refined photo passes through frame and lens protection, then backdrop and shadow cleanup, then one shared detail crop. A quality evaluation either approves the asset or sends it back for a bounded number of retries. Refined photo Frame and lens protection Backdrop and shadow cleanup One shared detail crop Quality evaluation Bounded retry Approved asset

Architecture Narrative

A refined photo passes through frame and lens protection, then backdrop and shadow cleanup, then one shared detail crop. A quality evaluation either approves the asset or sends it back for a bounded number of retries.

Decision 02

Thin frames and clear lenses are easy to damage when removing a background.

Protect the lens regions and the frame before cleaning the backdrop, tell contact shadows apart from a grey surface, and compute one crop box shared by the white and transparent versions so they always line up. A configurable quality check can log a defect or ask for a retry within a fixed budget.

03 / THE WORKSPACE

Starting a job takes one screen.

New job

Pick a mode, choose the AI model, drop in the photographs.

Staff name the job (or let it auto-name by date), choose instant or batch generation and an AI model, then drag in JPG, PNG or WebP files named by product code and view.

Optifashion Studio New Job screen with job name, generation mode, AI model and a drag-and-drop area for product photographs
04 / IN PRACTICE

Two ways to work, one traceable path.

Both routes connect the source photograph, its product group, its processing status and every generated asset.

WEB WORKSPACE

Upload, review and retry

Staff upload photographs, watch progress, inspect full views and detail crops, and regenerate a single image when needed.

  • Progresslive job status
  • Retryone image at a time
  • Exportsingle file or ZIP
  • Alertsemail when a job completes
AUTOMATED FTP

Drop files, collect results

Photographers place conventionally named files in an inbox. Scheduled workers create the jobs and deliver outputs into product and format folders.

  • Intakewaits for uploads to settle
  • Failureseligible retries
  • Deliveryby product and format
  • Revisionsnewest version, same filename
05 / RESULTS

What the workflow produces, and what was verified.

20/20 cleanup checks passed vs 2/20 before

16 files

One complete product set

Front, angle and side views generate white-background and transparent assets, plus half-glass detail crops.

2 routes

Web upload and FTP

Both feed the same processing, storage and delivery path.

3 views

Grouped automatically

Filenames carry the product code and view, so grouping needs no manual sorting.

20 / 20

Background cleanup checks passed

On the documented verification set, against 2 of 20 for the earlier method. A targeted historical check, not a platform-wide rate.

~6 px

Crop accuracy at working size

Reduced-resolution crop geometry stayed within about 6 pixels of full resolution on the documented angle images.

1 image

The unit of retry

Regenerate only the image that needs it, and keep the rest of the set.

06 / UNDER THE HOOD

Specialist where it matters. Familiar everywhere else.

The image work uses purpose-built techniques; the surrounding platform uses mainstream tools that are easy to run and extend.

AI and image processing

Refinement, segmentation, cleanup, shadow analysis and cropping.

  • Google Gemini
  • OpenAI
  • rembg
  • ONNX Runtime
  • Pillow

Backend

Authenticated API and background processing.

  • FastAPI
  • Python 3.12
  • Celery
  • Redis

Data and storage

Jobs, products, prompt versions and generated assets.

  • PostgreSQL
  • SQLAlchemy
  • AWS S3
  • AWS SES

Workspace

Operations dashboard and deployment.

  • React 18
  • TypeScript
  • Docker Compose
  • Nginx
Next

Have a catalog full of images to prepare?

Product photography, document handling and other repetitive visual or data-prep workflows can be automated while people keep control of the exceptions.