Package: rembg Type: Package Title: Remove Image Backgrounds with Pre-Trained Segmentation Models Version: 0.1.1 Date: 2026-07-13 Authors@R: c( person("Troy", "Hernandez", email = "troy@cornball.ai", role = c("aut", "cre"), comment = c(ORCID = "0009-0005-4248-604X")), person("cornball.ai", role = "cph"), person("Daniel", "Gatis", role = "cph", comment = "Author of the Python 'rembg' package this is ported from")) Description: Remove the background from an image using pre-trained deep learning segmentation models ('U-2-Net', 'ISNet', 'BiRefNet' and others) run through the 'ONNX' Runtime via the 'onnxr' package. Given an image, a model predicts a foreground alpha matte which is composited into a cutout with a transparent (or solid-colour) background; optional closed-form alpha matting (ported from 'pymatting') refines soft edges. An R port of the Python 'rembg' package (). Models are downloaded on first use and cached in a per-user cache directory. License: MIT + file LICENSE URL: https://github.com/cornball-ai/rembg BugReports: https://github.com/cornball-ai/rembg/issues Imports: onnxr, jpeg, png, Matrix, tools, utils Suggests: tinytest, openssl Encoding: UTF-8 RoxygenNote: 7.3.2 NeedsCompilation: no Packaged: 2026-07-22 10:53:04 UTC; root Author: Troy Hernandez [aut, cre] (ORCID: ), cornball.ai [cph], Daniel Gatis [cph] (Author of the Python 'rembg' package this is ported from) Maintainer: Troy Hernandez Repository: https://cran.r-universe.dev Date/Publication: 2026-07-22 07:30:07 UTC RemoteUrl: https://github.com/cran/rembg RemoteRef: HEAD RemoteSha: 344001d6719600e0c401f70e5de03c685bc7f3dd