What AI Cannot Fix in a Bad Car Photo
If you work on anything that automatically improves photographs, you end up having the same conversation every few weeks. Somebody sends a genuinely bad photo and asks whether the model can fix it. Sometimes the answer
If you work on anything that automatically improves photographs, you end up having the same conversation every few weeks. Somebody sends a genuinely bad photo and asks whether the model can fix it.
Sometimes the answer is yes and it looks like magic. Sometimes the answer is no and it is hard to explain why without sounding evasive, because from the outside the two cases look similar. Both are just photos of a car.
The line between them is actually quite clean once you see it, and it is worth articulating properly, because it determines what you can promise and what you should never promise.
The line: is the information in the file
Here is the whole thing in one sentence. An automated pipeline can transform information that exists in the image. It cannot recover information that was never captured.
That sounds obvious and it is, but it cuts in places people do not expect.
Background replacement works because the car is fully present in the pixels. You are solving a segmentation problem, deciding which pixels belong to the vehicle, and then compositing. Hard parts exist, like chrome trim that reflects the old background and glass that is partially transparent and shows it through, but the car itself is all there. You are moving information around, not inventing it.
Relighting works for similar reasons. The shape of the panel is encoded in the shading, so you can estimate the surface and relight it. The geometry was captured even though the lighting was bad.
Colour and exposure correction works, as long as the sensor did not clip. A blown out white panel in direct sun is not underexposed information waiting to be recovered, it is a region where every pixel is at maximum and the differences between them were discarded at capture time. Nothing downstream can tell you what the panel looked like, because the file no longer contains the answer. It will produce something plausible, which is a different thing and a more dangerous one.
The four cases that cannot be fixed
Occlusion. A pillar in front of the rear door, a person reflected in the glass, a trolley parked against the sill. The pixels behind the obstruction do not exist. Inpainting will fill them, and the fill will look convincing, and it will be invented. For a vehicle listing that is not an aesthetic problem, it is a factual one, because the thing you invented may be covering damage.
Motion blur. Blur from camera shake is sometimes partially recoverable because the blur kernel is roughly uniform and estimable. Blur from a moving subject usually is not, and blur that smeared a fine feature below the resolution limit has destroyed it permanently. A badge that is now four grey pixels is not a badge any more.
Missing resolution. Upscaling a 600 pixel wide photo to 2400 produces four times the pixels and no new information. The model is making a statistically likely guess about what belongs between the samples. On a brick wall this is fine. On a tyre sidewall, where a buyer wants to read the size and the wear, the output is fiction formatted as fact.
Missing coverage. You cannot generate the photograph nobody took. This is the one people ask for most often, usually phrased as whether the system can produce a rear three quarter view from the front three quarter it has.
Novel view synthesis exists and is genuinely impressive, but what it is doing on a single input is predicting the unseen side, which for a vehicle listing means predicting whether there is damage on a panel it cannot see. The honest answer is that it will show you an undamaged panel, because that is the likely case in its training data, and it has no way of knowing about this car.
Why this matters more for cars than for most things
For most product photography, a plausible reconstruction is fine. Nobody is harmed if the texture of a jumper is approximated.
Vehicles are different because the photographs are load bearing. A buyer is using them to make a decision about condition, and in many markets the listing photos form part of what the buyer relied on. A system that generates a clean panel where the real panel is scratched has not improved a photograph, it has produced a misleading document. The failure mode is not an ugly image, it is a dispute.
This is the reason a sensible pipeline distinguishes between operations that are presentationally neutral and operations that are generative. Background, lighting, crop and colour are in the first group. Inpainting, upscaling and view synthesis are in the second. The first group can run automatically. The second group needs a human to decide, or should be reserved for cases where nothing material is at stake.
The practical consequence
All of this points at the same place, which is that the capture step is the only step that can add information, so it is the only step worth optimising hard.
Getting coverage right at capture is cheap. Every panel, consistent angles, enough resolution to zoom, nothing parked in frame, no direct sun on a white car. Doing that well makes the downstream pipeline easy and honest. Doing it badly leaves you asking a model to invent the parts you missed, and the model will oblige, which is the problem.
We spend most of our engineering effort on the capture side at HelloRamp for exactly this reason. The interesting work is not in the cleanup, it is in making sure the cleanup never has to guess. There is a longer piece on where automated photo editing actually helps that covers the editing side in more detail.
If you take one thing from this: a pipeline that cannot tell the difference between moving information and inventing it will eventually invent something that matters.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.