Urgent.News

What's breaking now, across thousands of outlets.

Tech

Cutting out big product photos: mask resizing cost 1.5 of 255, the model cost 54

Picture a one-person shop with a few hundred product shots off a 24-megapixel camera and one weekend to cut them all out. Three things are worth settling first, and one test run on an Apple-silicon Mac in a desktop browser put numbers on each. The cutouts came from ImgIng's browser background remover https://imging.ai/ , which has fast, pro and heavy model tiers, and the error checks were run…

A young entrepreneur faced the challenge of cutting out product photos from high-resolution images within a tight timeframe. The task required resizing masks and resizing images, both of which had an impact on the overall project cost.

The entrepreneur tested three different models offered by a browser background remover tool, ImgIng. The three tiers available were fast, pro, and heavy. Each model had its own resolution, with the fast tier processing at 1024x1024, the pro tier at 1024x1024, and the heavy tier at 2048x2048. These resolutions significantly altered the masks produced by the model, ultimately affecting the overall quality of the final product images.

When the heavy model was tested on a 2048x2048 photo, the mask quality dropped from 0.975 to 0.223. This led to the conclusion that the model was trained for a specific resolution and that resizing the input photo to match the model's native resolution would result in better mask quality. The entrepreneur discovered that resizing the mask was a more cost-effective solution than attempting to upscale the original image.

The entrepreneur calculated the cost of resizing the mask to be around 1 to 1.5 out of 255, while the cost of the model remained constant at 54. Thus, resizing the mask proved to be a cheaper alternative compared to using a more powerful model. The entrepreneur decided to categorize the photos based on their type and select the appropriate model to use for each, ultimately reducing the overall cost of the project.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Should code comments link to Stack Overflow answers? Let's argue about it

Scheduled broken-link and redirect checks that tell you the moment a link breaks — linkbruno.com Open any mature codebase and search for stackoverflow.com .

  • Code comments linking to Stack Overflow answers spark debate
  • Links aid future maintainers by providing attribution and context
  • Links can rot over time, becoming outdated or broken

Why red ink vanishes under a red sheet, and how I made an iPhone do it

I work on Red Sheet at W Lab. Students in Japan write answers in red or orange pen, lay a sheet of red plastic over the page, and the answers disappear while the black questions stay.

  • Red Sheet app conceals handwritten answers with red overlay
  • App identifies ink vs. paper using color analysis in CIELAB space
  • Pens hidden by red overlay, highlighters appear darker and block text

Security Audit Badges — What an Audit Covers, and What It Never Can

HostDeFi › Guides › Audit badges "Audited" is the most misread word in token marketing. It describes a code review with a date and a scope — not a background check on the people holding the keys.

  • Security audit badges do not guarantee audit credibility
  • Legitimate audit involves specific source files and graded findings
  • Badge legitimacy requires verification of auditor's website and contract addresses

Why Outer Wilds Bet on Unity: The Thesis Engine Behind a 22-Minute Solar System

Outer Wilds runs on Unity — Unity 2017 at launch, later Unity 2019 — not Unreal, not a custom C++ solar-system engine. That choice sounds boring until you see what tiny Mobius Digital asked it to do…

  • Outer Wilds uses Unity game engine for core development.
  • Unity offers cheap iteration and seamless platform transition.
  • Team adapted Unity's limitations to create a working solar system simulator.

More from Saturday 14 November →