{"id":31893751,"url":"https://github.com/numq/camera-capture","last_synced_at":"2026-04-15T20:03:04.202Z","repository":{"id":313992586,"uuid":"1053051202","full_name":"numq/camera-capture","owner":"numq","description":"This is part of a project (mobile application) that provides the ability to take pictures with a smartphone camera and use them in the ComfyUI workflow","archived":false,"fork":false,"pushed_at":"2025-09-10T00:55:24.000Z","size":341,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-10T00:56:04.304Z","etag":null,"topics":["adb","android","camera","camera-capture","comfyui","comfyui-node","httpc-server","image-capture","mobile-app","smartphone-camera"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/numq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-08T23:30:10.000Z","updated_at":"2025-09-10T00:54:13.000Z","dependencies_parsed_at":"2025-09-10T00:56:06.094Z","dependency_job_id":"10e6cb45-c73d-49c8-aad6-a7e9947450cc","html_url":"https://github.com/numq/camera-capture","commit_stats":null,"previous_names":["numq/camera-capture"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/numq/camera-capture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numq%2Fcamera-capture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numq%2Fcamera-capture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numq%2Fcamera-capture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numq%2Fcamera-capture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numq","download_url":"https://codeload.github.com/numq/camera-capture/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numq%2Fcamera-capture/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014517,"owners_count":26085535,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["adb","android","camera","camera-capture","comfyui","comfyui-node","httpc-server","image-capture","mobile-app","smartphone-camera"],"created_at":"2025-10-13T09:22:33.326Z","updated_at":"2026-04-15T20:03:04.196Z","avatar_url":"https://github.com/numq.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eCamera Capture\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eThis is a project that provides the ability to take pictures with a smartphone camera and use them in the ComfyUI workflow\u003c/p\u003e\n\u003cp align=\"center\"\u003eThe project consists of two parts:\n\u003cbr\u003e\n\u003ca href=\"https://github.com/numq/comfyui-camera-capture-node\"\u003eComfyUI node\u003c/a\u003e\nand\n\u003ca href=\"https://github.com/numq/camera-capture\"\u003emobile application 📍\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\u003cimg src=\"media/preview.png\" alt=\"preview\"/\u003e\u003c/div\u003e\n\n\u003e [!NOTE]\n\u003e The application was designed using the [Reduce \u0026 Conquer](https://github.com/numq/reduce-and-conquer) architectural\n\u003e pattern\n\n## 📖 Table of Content\n\n* [📱 Supported platforms](#-supported-platforms)\n* [✨ Features](#-features)\n* [🔧 How does it work?](#-how-does-it-work)\n* [📦 Installation](#-installation)\n* [🎯 Usage](#-usage)\n* [🔗 Links](#-links)\n\n# 📱 Supported platforms\n\n| Platform | Minimal Version | Availability |\n|:--------:|:---------------:|:------------:|\n| Android  |  8.0 (SDK 28)   |      ✅       |\n|   iOS    |        -        |      ❌       |\n\n# ✨ Features\n\n## Android\n\n- Configure `port` (default: 8090)\n- Turn `flashlight` on/off\n- Switch camera `lens facing`\n\n## ComfyUI node:\n\n- Configure `port` (default: 8090)\n- Configure `timeout` (default: 10 seconds)\n- Get output as `image`, `width`, `height`\n\n# 🔧 How does it work?\n\n## Android\n\nThe application consists of two parts: a camera for capturing images and an HTTP server.\nWhen a request is received, the server captures an image from the camera and returns it in JSON format.\n\n## ComfyUI node\n\nThe node performs port forwarding using [adb](https://developer.android.com/tools/adb), which allows you to connect to\nthe server on your USB-connected\nsmartphone\nvia localhost.\nWhen the node is executed, an HTTP client is created that sends a request to the server running on the smartphone and\nthen receives a response with a JSON file containing the image, its width and height.\n\n# 📦 Installation\n\nInstall [adb](https://developer.android.com/tools/adb) on your computer. Make sure it is set in environment variables\nand can be called in command line\n\n## Android\n\nInstall the [Camera Capture](https://github.com/numq/camera-capture) application, which allows you to\ncapture images from your smartphone camera\n\n## ComfyUI node\n\nClone [comfyui-camera-capture-node](https://github.com/numq/comfyui-camera-capture-node) repository into your\n`./ComfyUI/custom_nodes` folder, or download the latest release and place the `comfyui-camera-capture-node` folder\nthere\n\n# 🎯 Usage\n\n\u003e [!IMPORTANT]\n\u003e Make sure the port of the client and server match\n\n## Android\n\n1. Connect your smartphone to your PC via USB\n2. Launch the `Camera Capture` application\n3. Grant permission to use the smartphone camera\n4. If you see a preview of the camera, it is working\n5. Change the port if necessary\n6. Establish a connection to the server, making sure that it has a `Connected` state\n\n## ComfyUI node\n\n1. Find the category `camera`\n2. Add a node `Camera Capture` to the workflow\n3. Run the workflow\n4. If you get a black 512x512 image, check the console for an error\n\n# 🔗 Links\n\n- [ComfyUI](https://www.comfy.org/)\n- [adb](https://developer.android.com/tools/adb)\n- [Camera Capture](https://github.com/numq/camera-capture)\n- [comfyui-camera-capture-node](https://github.com/numq/comfyui-camera-capture-node)\n\n___\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://numq.github.io/support\"\u003e\n    \u003cimg src=\"https://api.qrserver.com/v1/create-qr-code/?size=112x112\u0026data=https://numq.github.io/support\u0026bgcolor=1a1b26\u0026color=7aa2f7\" \n         width=\"112\" \n         height=\"112\" \n         style=\"border-radius: 4px;\" \n         alt=\"QR code\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://numq.github.io/support\" style=\"text-decoration: none;\"\u003e\n    \u003ccode\u003e\u003cfont color=\"#bb9af7\"\u003enumq.github.io/support\u003c/font\u003e\u003c/code\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumq%2Fcamera-capture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumq%2Fcamera-capture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumq%2Fcamera-capture/lists"}