{
  "_id": "6a60a19fc766cc6deb6a9f27",
  "Package": "rembg",
  "Type": "Package",
  "Title": "Remove Image Backgrounds with Pre-Trained Segmentation Models",
  "Version": "0.1.1",
  "Date": "2026-07-13",
  "Authors@R": "c(\nperson(\"Troy\", \"Hernandez\", email = \"troy@cornball.ai\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0005-4248-604X\")),\nperson(\"cornball.ai\", role = \"cph\"),\nperson(\"Daniel\", \"Gatis\", role = \"cph\",\ncomment = \"Author of the Python 'rembg' package this is ported from\"))",
  "Description": "Remove the background from an image using pre-trained deep\nlearning segmentation models ('U-2-Net', 'ISNet', 'BiRefNet'\nand others) run through the 'ONNX' Runtime via the 'onnxr'\npackage. Given an image, a model predicts a foreground alpha\nmatte which is composited into a cutout with a transparent (or\nsolid-colour) background; optional closed-form alpha matting\n(ported from 'pymatting') refines soft edges. An R port of the\nPython 'rembg' package\n(<https://github.com/danielgatis/rembg>). Models are downloaded\non 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",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-22 10:53:04 UTC",
    "User": "root"
  },
  "Author": "Troy Hernandez [aut, cre] (ORCID:\n<https://orcid.org/0009-0005-4248-604X>), cornball.ai [cph],\nDaniel Gatis [cph] (Author of the Python 'rembg' package this\nis ported from)",
  "Maintainer": "Troy Hernandez <troy@cornball.ai>",
  "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",
  "_user": "cran",
  "_type": "src",
  "_file": "rembg_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/5592f687a7f8fe9c22f783d5b91cae54b4568117592660b864535e7794802e8d",
  "_filesize": 131351,
  "_sha256": "5592f687a7f8fe9c22f783d5b91cae54b4568117592660b864535e7794802e8d",
  "_expires": "2026-10-30T10:55:26.000Z",
  "_created": "2026-07-22T10:53:04.000Z",
  "_published": "2026-07-22T10:55:27.983Z",
  "_jobs": [
    {
      "job": 88902195759,
      "time": 108,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8526961175"
    },
    {
      "job": 88902195747,
      "time": 111,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8526962223"
    },
    {
      "job": 88901654609,
      "time": 155,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8526913615"
    },
    {
      "job": 88902195896,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8526961995"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/29913437237",
  "_status": "success",
  "_upstream": "https://github.com/cran/rembg",
  "_commit": {
    "id": "344001d6719600e0c401f70e5de03c685bc7f3dd",
    "author": "Troy Hernandez <troy@cornball.ai>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.1\n",
    "time": 1784705407
  },
  "_maintainer": {
    "name": "Troy Hernandez",
    "email": "troy@cornball.ai",
    "login": "troyhernandez",
    "description": "",
    "uuid": 5670773,
    "orcid": "0009-0005-4248-604X"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "onnxr",
      "role": "Imports"
    },
    {
      "package": "jpeg",
      "role": "Imports"
    },
    {
      "package": "png",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "openssl",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-30",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.1",
      "date": "2026-07-22"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "troyhernandez",
      "count": 1,
      "uuid": 5670773
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 622,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rembg"
  },
  "_devurl": "https://github.com/cornball-ai/rembg",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rembg.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2026-07-22"
    }
  ],
  "_exports": [
    "model_home",
    "new_session",
    "rembg",
    "rembg_models"
  ],
  "_help": [
    {
      "page": "model_home",
      "title": "Directory where downloaded models are cached",
      "topics": [
        "model_home"
      ]
    },
    {
      "page": "new_session",
      "title": "Create a background-removal session",
      "topics": [
        "new_session"
      ]
    },
    {
      "page": "rembg",
      "title": "Remove the background from an image",
      "topics": [
        "rembg"
      ]
    },
    {
      "page": "rembg_models",
      "title": "Available background-removal models",
      "topics": [
        "rembg_models"
      ]
    }
  ],
  "_readme": "https://github.com/cran/rembg/raw/HEAD/README.md",
  "_rundeps": [
    "cpp11",
    "jpeg",
    "lattice",
    "Matrix",
    "onnxr",
    "png"
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "rembg",
  "_universes": [
    "cran",
    "troyhernandez",
    "cornball-ai"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-07-22T10:54:54.000Z",
      "distro": "resolute",
      "commit": "344001d6719600e0c401f70e5de03c685bc7f3dd",
      "fileid": "https://r2.ropensci.org/83563e7695a99719b09287437ae9a9b16333ac98a649a4b401728fbeffb7e685",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29913437237"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-07-22T10:54:55.000Z",
      "distro": "resolute",
      "commit": "344001d6719600e0c401f70e5de03c685bc7f3dd",
      "fileid": "https://r2.ropensci.org/e64445870903a26d9a2e2e56f06564ac78c073c16d31f64461436f97095d9fa4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29913437237"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-07-22T10:55:08.000Z",
      "commit": "344001d6719600e0c401f70e5de03c685bc7f3dd",
      "fileid": "https://r2.ropensci.org/afc780506ca08eec6a5afe2e91b41b30702ae6f7acaaa296ad1e3a33e972202d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29913437237"
    }
  ]
}