{"id":15656003,"url":"https://github.com/liuyueyi/autormbg","last_synced_at":"2025-10-24T17:39:33.782Z","repository":{"id":223970072,"uuid":"761651039","full_name":"liuyueyi/autoRMBG","owner":"liuyueyi","description":"auto remove image backgound service by SpringBoot3+ JDK17+ AI","archived":false,"fork":false,"pushed_at":"2024-03-22T08:32:14.000Z","size":3777,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T21:51:15.382Z","etag":null,"topics":["ai","image-to-image","java","jdk17","python","remove-background","rmbg","springboot","springboot3-x"],"latest_commit_sha":null,"homepage":"https://liuyueyi.github.io/autoRMBG/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liuyueyi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-22T08:25:54.000Z","updated_at":"2024-08-31T10:01:48.000Z","dependencies_parsed_at":"2024-03-22T09:45:39.397Z","dependency_job_id":"982d6279-a4d8-4f51-a138-cbeee6c26479","html_url":"https://github.com/liuyueyi/autoRMBG","commit_stats":null,"previous_names":["liuyueyi/autormbg"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuyueyi%2FautoRMBG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuyueyi%2FautoRMBG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuyueyi%2FautoRMBG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuyueyi%2FautoRMBG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liuyueyi","download_url":"https://codeload.github.com/liuyueyi/autoRMBG/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252522169,"owners_count":21761685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","image-to-image","java","jdk17","python","remove-background","rmbg","springboot","springboot3-x"],"created_at":"2024-10-03T13:00:55.754Z","updated_at":"2025-10-24T17:39:28.751Z","avatar_url":"https://github.com/liuyueyi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# autoRMBG\n\n基于SpringBoot3.2.2 + jdk17 + Thymeleaf + WebClient + briaai/RMBG-1.4 实现的基于AI的自动抠图服务\n\n## 系列教程\n\n- [x] [从0到1实现一个自动抠图服务](./docs/md/从0到1实现一个自动抠图服务.md)\n- [x] [基于webflux的web抠图服务](./docs/md/基于webflux的web抠图服务.md)\n\n## 启动方式\n\n### 技术栈\n\n自动抠图服务，目前主要依赖两套技术栈，分别是基于python的AI模型执行过程与基于Java的WEB应用\n\n**JAVA后端技术栈**: `JDK17` + `Maven` + `SpringBoot3.2.2`\n\n基础组件：\n\n|技术 | 说明 | 官网 |\n|:----:| -------| ----------|\n| Spring \u0026 SpringMVC \u0026 WebFlux | Java全栈应用程序框架和WEB容器实现 | [https://spring.io/](https://spring.io/) |\n| SpringBoot| Spring应用集成开发框架 | [https://spring.io/projects/spring-boot](https://spring.io/projects/spring-boot) |\n| https | 证书 | [https://letsencrypt.org/](https://letsencrypt.org/) |\n| lombok | Java语言增强库  | [https://projectlombok.org](https://projectlombok.org)|\n| guava | google开源的java工具集 | [https://github.com/google/guava](https://github.com/google/guava)|\n| thymeleaf | html5模板引擎  | [https://www.thymeleaf.org](https://www.thymeleaf.org)|\n| jackson | json/xml处理 | [https://www.jackson.com](https://www.jackson.com)|\n| bootstrap-fileinput | 图片上传控件  | [https://github.com/kartik-v/bootstrap-fileinput](https://github.com/kartik-v/bootstrap-fileinput)|\n| base-plugin | 文件处理| [https://github.com/liuyueyi/quick-media](https://github.com/liuyueyi/quick-media) |\n\n\n**Python技术栈**: `python3.11` + `torch` + `fastapi`\n\n基础组件:\n\n| 技术 | 说明 | 官网 | \n|:----:| -------| ----------|\n| torch | 深度学习框架 | [PyTorch](https://pytorch.org/) |\n| Pillow | 图像操作 | [pillow · PyPI](https://pypi.org/project/pillow/) |\n| NumPy | 科学计算基础包 | [NumPy -](https://numpy.org/) |\n| huggingface_hub | huggingface模型包管理工具 | [Hugging Face – The AI community building the future.](https://huggingface.co/) |\n| fastAPI | web框架 | [FastAPI](https://fastapi.tiangolo.com/) |\n\n\n### 环境依赖\n\n- python3.11\n- jdk17\n- maven3.6+\n\n### 环境配置\n\n1. brain提供的自动抠图AI初始化\n\n[rmbg-ai服务安装](rmbg-ai/README.md)\n\n2. jdk相关环境初始化\n\n- 安装jdk，maven\n- idea 加载项目，编译\n\n### 启动服务\n\n首先进入 rmbg-ai 启动服务\n\n```bash\n# mac/linux 环境\nrmbg-ai/venv/bin/python rmbg-ai/main.py\n\n# win 环境\n.\\rmbg-ai\\venv\\Scripts\\python.exe .\\rmbg-ai\\main.py\n```\n\n![ai启动](./docs/image/ai_start.jpg)\n\n接着启动SpringBoot应用\n\n![Spring应用启动](./docs/image/spring_start.jpg)\n\n浏览器打开: [http://localhost:8080/](http://localhost:8080/)\n\n实际体验效果如下：\n\n![](./docs/image/show_case.gif)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuyueyi%2Fautormbg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliuyueyi%2Fautormbg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuyueyi%2Fautormbg/lists"}