ASI Robotics AI · web · robotics
← All services

Batch photo processing

Mass processing of product photos for marketplaces and stores: background removal and replacement, retouching, upscaling, conforming to WB and Ozon requirements — in a stream, not one picture at a time.

$ ./photo.sh batch
> 500 photos processed
cards ready for upload

What the service includes

We build a mass image-processing conveyor for the client: background replacement and cleanup, retouching defects, color grading and upscaling to the required resolution in a single run. For a catalog of thousands of cards, a photo bank or a shoot archive, a single set of rules is configured so that all frames come out with the same geometry, framing and color. Batch photo processing removes the manual routine: the operator no longer opens each file individually but sets the parameters once. As input it accepts folders, links or an export from an accounting system; as output it delivers a structured set of ready files with predictable names. We write the program and set up the process on the client's equipment and environment — physically the files are processed by their machine or their cloud, not by us on their behalf.

How the process works

At the core lies a pipeline of sequential steps, where each frame goes through a fixed chain of operations without human involvement. First the image is recognized and segmented by a neural network that separates the object from the background by a mask, then retouching, color normalization and scaling are applied. Upscaling is performed not by simple interpolation but by a convolutional model trained to restore details that aren't directly present in the original low resolution. The batch-processing script manages the queue, splits a large volume into batches, keeps a log and retries failed files so that a run of tens of thousands of frames reaches the end. The parameters are moved into a configuration, so the same scheme can be reapplied to a new catalog by changing only the settings, not the code.

The history of the field

Digital image processing began in 1957, when Russell Kirsch at the US National Bureau of Standards scanned, on a drum scanner, a photo of his three-month-old son at 176 by 176 dots, and it was then that the concept of the pixel appeared. For half a century the algorithms remained manual: an engineer programmed filters, thresholds and transforms for each task. The turning point came with the neural-network revolution: in 2012 the convolutional network AlexNet (Alex Krizhevsky, Ilya Sutskever, Geoffrey Hinton) won the ImageNet contest by a wide margin, proving that feature recognition can be learned from data rather than hand-coded. In 2014 Ian Goodfellow and colleagues proposed generative adversarial networks (GANs), which learned to synthesize and complete an image rather than just classify it. From that point on, background replacement, retouching and upscaling turned from a set of heuristics into trainable models, which is what made mass batch photo processing practical.

Why the software part is critical

On a single frame an error is unnoticeable; on a batch of tens of thousands it's replicated and turns into a defect across the entire catalog, so the cost of precision here is different from manual editing. A segmentation mask trimmed a couple of pixels past the contour leaves a halo around the object; a wrong upscaling factor produces mush or artifacts on sharp edges. That's why the pipeline fixes the parameters strictly and applies them deterministically, so the result is reproducible rather than dependent on the operator's mood. Before the production run, the scheme is tested on a control sample, the metrics and edge cases are checked, and only then does the launch go on the full volume. The software part and the setup decide no less than the model itself: it's exactly they that separate a single lucky frame from a stable flow of ready files.

What tools we work with

The stack is built around neural networks for three tasks: segmentation and background removal, restoration and retouching, and separate upscaling models trained on low- and high-resolution pairs. The control layer is written as batch-processing scripts in Python, which holds the computer-vision ecosystem and ties the models, the queue and the input/output into a single run. Heavy operations are offloaded to the GPU, inference is run in batches, and the models themselves are plugged in as interchangeable blocks, so an upscaler or a segmentation network can be swapped without rewriting the whole conveyor. Configuration, logging and retrying failed tasks make the run resilient to failures at large volumes. This whole stack is deployed and configured on the client's equipment or in their cloud — we prepare the program and the parameters, and their infrastructure does the computing.

When the key tools appeared

The convolutional networks that modern image processing stands on go back to Yann LeCun's LeNet architecture of 1998 for recognizing handwritten digits, but they reached industrial scale only after AlexNet in 2012. Deep-learning upscaling began in 2014 with the SRCNN model (Chao Dong and colleagues) — the first convolutional network that directly learned the translation from low to high resolution and outperformed classic interpolation. For precise segmentation and separating an object from the background, the reference became the U-Net architecture, presented by Olaf Ronneberger and co-authors in 2015. The Python language, on which most such pipelines are assembled today, appeared back in 1991 and became mainstream in computer vision in the 2010s along with the growth of deep-learning libraries. These few dates — 1998, 2012, 2014, 2015 — form the foundation on which automated batch photo processing stands.

Why trust this to us

The combined experience of the development team exceeds 45 years in IT, and this is an engineering rather than an artistic view of the task: for us, processing a catalog is a reproducible process with metrics, not a series of manual edits. We figure out where the model fails on an atypical frame, how to hold uniform quality at large volume and how to connect the pipeline to the client's accounting system and storage. Every scheme goes through checks on a control sample before the production launch, so the full run doesn't turn into mass scrap because of an unnoticed setup error. We write the program and set up the process for the client's infrastructure — the images are processed by their equipment and their cloud, and our area of responsibility is the code, the models and the parameters. This approach yields a predictable result and an asset that stays with the client and is reused on the next batches.

What's included

Background removal and replacement
Retouching and color grading
Upscaling to platform requirements
Conforming to a marketplace template
Batch processing in a stream
Ready cards for upload

How we work

01
Photos
02
Template
03
Conveyor
04
QC
05
Upload
Result

Hundreds of photos in the required form in a day instead of weeks of manual retouching — cards ready to upload to a marketplace right away.

FAQ

How many photos at once?+

From dozens to thousands — we process them in a stream through our conveyor.

For which platforms?+

WB, Ozon, Yandex.Market, your site — to each one's requirements.

Let's discuss your project?

Leave your contacts — we'll get back with questions and a proposal.