{
  "_id": "6a61f67335834fefe99ebd9c",
  "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",
  "Config/pak/sysreqs": "libjpeg-dev libpng-dev",
  "Repository": "https://cornball-ai.r-universe.dev",
  "Date/Publication": "2026-07-13 22:27:37 UTC",
  "RemoteUrl": "https://github.com/cornball-ai/rembg",
  "RemoteRef": "HEAD",
  "RemoteSha": "a55bc85cab9771412019f62e838eac0a061adb25",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-23 11:03:15 UTC",
    "User": "root"
  },
  "Author": "Troy Hernandez [aut, cre] (ORCID:\n<https://orcid.org/0009-0005-4248-604X>),\ncornball.ai [cph],\nDaniel Gatis [cph] (Author of the Python 'rembg' package this is ported\nfrom)",
  "Maintainer": "Troy Hernandez <troy@cornball.ai>",
  "_user": "cornball-ai",
  "_type": "src",
  "_file": "rembg_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/b482a5a0b843aa293a86c24feebb4fc414a5de7c27978cb4a60883319259a1f7",
  "_filesize": 129892,
  "_sha256": "b482a5a0b843aa293a86c24feebb4fc414a5de7c27978cb4a60883319259a1f7",
  "_expires": "2026-10-31T11:09:37.000Z",
  "_created": "2026-07-23T11:03:15.000Z",
  "_published": "2026-07-23T11:09:39.025Z",
  "_jobs": [
    {
      "job": 89188070904,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8561275648"
    },
    {
      "job": 89188070848,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8561277394"
    },
    {
      "job": 89188070826,
      "time": 117,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8561375388"
    },
    {
      "job": 89188070777,
      "time": 72,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8561338205"
    },
    {
      "job": 89187520564,
      "time": 156,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8561225282"
    },
    {
      "job": 89188070842,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8561271447"
    },
    {
      "job": 89188070854,
      "time": 69,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8561255358"
    },
    {
      "job": 89188070804,
      "time": 87,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8561264547"
    },
    {
      "job": 89188070817,
      "time": 76,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8561258370"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/30001475786",
  "_status": "success",
  "_upstream": "https://github.com/cornball-ai/rembg",
  "_commit": {
    "id": "a55bc85cab9771412019f62e838eac0a061adb25",
    "author": "TroyHernandez <troy@cornball.ai>",
    "committer": "TroyHernandez <troy@cornball.ai>",
    "message": "cran-comments: frame as a new submission, not a resubmission\n",
    "time": 1783981657
  },
  "_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": "cornball-ai",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 5
    },
    {
      "week": "2026-29",
      "n": 7
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "troyhernandez",
      "count": 12,
      "uuid": 5670773
    }
  ],
  "_userbio": {
    "uuid": 153995987,
    "type": "organization",
    "name": "cornball.ai",
    "followers": 17
  },
  "_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"
  ],
  "_homeurl": "https://github.com/cornball-ai/rembg",
  "_realowner": "cornball-ai",
  "_cranurl": true,
  "_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/cornball-ai/rembg/raw/HEAD/README.md",
  "_rundeps": [
    "cpp11",
    "jpeg",
    "lattice",
    "Matrix",
    "onnxr",
    "png"
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "rembg",
  "_universes": [
    "cornball-ai",
    "troyhernandez"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-07-23T11:05:16.000Z",
      "distro": "resolute",
      "commit": "a55bc85cab9771412019f62e838eac0a061adb25",
      "fileid": "https://r2.ropensci.org/b1c3ae543527dbfddb6ee5be12188be1d94a6e1d230ba4b04f4c2aad4d9536cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/30001475786"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-07-23T11:05:20.000Z",
      "distro": "resolute",
      "commit": "a55bc85cab9771412019f62e838eac0a061adb25",
      "fileid": "https://r2.ropensci.org/86c1eb4a773ccaf06df9dde53d90c507c31c80d70cbf49488eae11e0f181131a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/30001475786"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-07-23T11:09:00.000Z",
      "commit": "a55bc85cab9771412019f62e838eac0a061adb25",
      "fileid": "https://r2.ropensci.org/a7998b46310ea041cdf63824ae1aca589fd4f127ce91b769560dfa05e91c74b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/30001475786"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-07-23T11:07:35.000Z",
      "commit": "a55bc85cab9771412019f62e838eac0a061adb25",
      "fileid": "https://r2.ropensci.org/a88f15d049ab42cbb6bbb9b151c59b24ed6e923e690c592bb947df65e2d3e5b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/30001475786"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-07-23T11:05:17.000Z",
      "commit": "a55bc85cab9771412019f62e838eac0a061adb25",
      "fileid": "https://r2.ropensci.org/15a0cf7db117aeb2421daef91e0768b916918177624b80207655aefd4a830260",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/30001475786"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-07-23T11:04:19.000Z",
      "commit": "a55bc85cab9771412019f62e838eac0a061adb25",
      "fileid": "https://r2.ropensci.org/fc45a5e691aae6b0ba8fd5657913230a25758be1993ba2e007e4ee5718b6b01c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/30001475786"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-07-23T11:04:39.000Z",
      "commit": "a55bc85cab9771412019f62e838eac0a061adb25",
      "fileid": "https://r2.ropensci.org/8ead4ec34e63d7ef527ee9e231438d5179c4c54ac8004c02180694a5c776dae9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/30001475786"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-07-23T11:04:26.000Z",
      "commit": "a55bc85cab9771412019f62e838eac0a061adb25",
      "fileid": "https://r2.ropensci.org/a1ac80a4e19221dcdcc93e226fcc2622a49a37dc81b0f4572d56bd30c9d71259",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/30001475786"
    }
  ]
}