{"id":27440296,"url":"https://github.com/kby-ai/fire-smoke-detection-docker","last_synced_at":"2025-04-19T19:55:37.369Z","repository":{"id":287486017,"uuid":"964892923","full_name":"kby-ai/Fire-Smoke-Detection-Docker","owner":"kby-ai","description":"fire detection, smoke detection, object tracking, classification, object detection, fire protection, ","archived":false,"fork":false,"pushed_at":"2025-04-16T03:21:22.000Z","size":106916,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-19T17:57:25.998Z","etag":null,"topics":["deepsort","docker","fire-detection","fire-tracking","object-detection","object-recognition","smoke-detection","smoke-tracking"],"latest_commit_sha":null,"homepage":"https://huggingface.co/spaces/kby-ai/FireSmokeDetection","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kby-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","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}},"created_at":"2025-04-12T01:23:25.000Z","updated_at":"2025-04-16T03:21:26.000Z","dependencies_parsed_at":"2025-04-19T08:01:40.952Z","dependency_job_id":null,"html_url":"https://github.com/kby-ai/Fire-Smoke-Detection-Docker","commit_stats":null,"previous_names":["kby-ai/fire-smoke-detection","kby-ai/fire-smoke-detection-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kby-ai%2FFire-Smoke-Detection-Docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kby-ai%2FFire-Smoke-Detection-Docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kby-ai%2FFire-Smoke-Detection-Docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kby-ai%2FFire-Smoke-Detection-Docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kby-ai","download_url":"https://codeload.github.com/kby-ai/Fire-Smoke-Detection-Docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249786963,"owners_count":21325569,"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":["deepsort","docker","fire-detection","fire-tracking","object-detection","object-recognition","smoke-detection","smoke-tracking"],"created_at":"2025-04-14T22:39:47.382Z","updated_at":"2025-04-19T19:55:37.338Z","avatar_url":"https://github.com/kby-ai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://play.google.com/store/apps/dev?id=7086930298279250852\" target=\"_blank\"\u003e\n    \u003cimg alt=\"\" src=\"https://github-production-user-asset-6210df.s3.amazonaws.com/125717930/246971879-8ce757c3-90dc-438d-807f-3f3d29ddc064.png\" width=500/\u003e\n  \u003c/a\u003e  \n\u003c/p\u003e\n\n### Our facial recognition algorithm is globally top-ranked by NIST in the FRVT 1:1 leaderboards. \u003cspan\u003e\u003cimg src=\"https://github.com/kby-ai/.github/assets/125717930/bcf351c5-8b7a-496e-a8f9-c236eb8ad59e\" alt=\"badge\" width=\"36\" height=\"20\"\u003e\u003c/span\u003e  \n[Latest NIST FRVT evaluation report 2024-12-20](https://pages.nist.gov/frvt/html/frvt11.html)  \n\n![FRVT Sheet](https://github.com/user-attachments/assets/16b4cee2-3a91-453f-94e0-9e81262393d7)\n\n#### 🆔 ID Document Liveness Detection - Linux - [Here](https://web.kby-ai.com)  \u003cspan\u003e\u003cimg src=\"https://github.com/kby-ai/.github/assets/125717930/bcf351c5-8b7a-496e-a8f9-c236eb8ad59e\" alt=\"badge\" width=\"36\" height=\"20\"\u003e\u003c/span\u003e\n#### 🤗 Hugging Face - [Here](https://huggingface.co/kby-ai)\n#### 📚 Product \u0026 Resources - [Here](https://github.com/kby-ai/Product)\n#### 🛟 Help Center - [Here](https://docs.kby-ai.com)\n#### 💼 KYC Verification Demo - [Here](https://github.com/kby-ai/KYC-Verification-Demo-Android)\n#### 🙋‍♀️ Docker Hub - [Here](https://hub.docker.com/r/kbyai/fire-smoke-detection)\n```bash\nsudo docker pull kbyai/fire-smoke-detection:latest\nsudo docker run -v ./license.txt:/home/openvino/kby-ai-fire/license.txt -p 8081:8080 -p 9001:9000 kbyai/fire-smoke-detection:latest\n```\n# Fire-Smoke-Detection\n\n## Overview\n\nThis repository demonstrates  `Fire/Smoke Detection SDK` with high accuracy by applying artificial intelligence and machine learning techniques. \u003c/br\u003e\nFire and smoke are common hazards that can cause severe damage to life and property. Early detection of fire and smoke can help in preventing or mitigating the consequences of such disasters. However, traditional fire and smoke detection methods, such as sensors and alarms, may not be effective in some scenarios, such as outdoor environments, large areas, or complex scenes. Therefore, there is a need for a system that can use the power of computer vision and deep learning to analyze visual data and identify fire and smoke events in real time.\n\u003e We can customize the `SDK` to align with customer's specific requirements.\n\n## Try the API\n## Online Demo\nTo try `KBY-AI`'s `Fire/Smoke Detection SDK` online, please visit [here](https://huggingface.co/spaces/kby-ai/FireSmokeDetection)\n ![image](https://github.com/user-attachments/assets/28f04d35-090b-4d34-864d-100b6a9374da)\n \n### Postman\n  The `API` can be evaluated through `Postman` tool. Here are the endpoints for testing:\n  - Test with an image file: Send a `POST` request to `http://127.0.0.1:8081/fire`.\n  - Test with a `base64-encoded` image: Send a `POST` request to `http://127.0.0.1:8081/fire_base64`.\n  ![image](https://github.com/user-attachments/assets/8518eb28-23a6-451c-8610-79a5ad560f28)\n\n## SDK License\nThis project demonstrates `KBY-AI`'s `Fire/Smoke Detection SDK`, which requires a license per machine.\u003c/br\u003e\n- The code below shows how to use the license: https://github.com/kby-ai/Fire-Smoke-Detection-Docker/blob/e2f68c88839d0c21a77d8b54d58802bcca01df5b/app.py#L17-L28\n- To request the license, please provide us with the `machine code` obtained from the `getMachineCode` function.\u003c/br\u003e\n#### Please contact us:\u003c/br\u003e\n🧙`Email:` contact@kby-ai.com\u003c/br\u003e\n🧙`Telegram:` [@kbyai](https://t.me/kbyai)\u003c/br\u003e\n🧙`WhatsApp:` [+19092802609](https://wa.me/+19092802609)\u003c/br\u003e\n🧙`Discord:` [KBY-AI](https://discord.gg/CgHtWQ3k9T)\u003c/br\u003e\n🧙`Teams:` [KBY-AI](https://teams.live.com/l/invite/FBAYGB1-IlXkuQM3AY)\u003c/br\u003e\n\n## How to run\n\n### 1. System Requirements\n  - `CPU`: 2 cores or more (Recommended: 2 cores)\n  - `RAM`: 4 GB or more (Recommended: 8 GB)\n  - `HDD`: 4 GB or more (Recommended: 8 GB)\n  - `OS`: `Ubuntu 20.04` or later\n  - Dependency: `ncnn` (Version: 2024.12.26)\n\n### 2. Setup and Test\n  - Clone the project:\n    ```bash\n    git clone https://github.com/kby-ai/Fire-Smoke-Detection-Docker.git\n    ```\n    ```bash\n    cd Fire-Smoke-Detection-Docker\n    ```\n  - Build the `Docker` image:\n    ```bash\n    sudo docker build --pull --rm -f Dockerfile -t kby-ai-fire:latest .\n    ```\n  - Read `machine code`\n    ```\n    sudo docker run -e LICENSE=\"xxxxx\" kby-ai-fire:latest\n    ```\n  - Send us `machine code` obtained.\n    ![image](https://github.com/user-attachments/assets/a6ca197d-43a7-4177-952b-9ebdbaeb0164)\n  - Update the `license.txt` file by overwriting the `license key` that you received from `KBY-AI` team.\n  - Run the `Docker` container:\n    ```bash\n    sudo docker run -v ./license.txt:/home/openvino/kby-ai-fire/license.txt -p 8081:8080 -p 9001:9000 kby-ai-fire\n    ```\n    ![image](https://github.com/user-attachments/assets/f241d982-48f8-4a71-b4b3-cfac8778388e)\n\n  - Here are the endpoints to test the `API` through `Postman`:\n    Test with an image file: Send a `POST` request to `http://{xx.xx.xx.xx}:8081/fire`.\u003c/br\u003e\n    Test with a `base64-encoded` image: Send a `POST` request to `http://{xx.xx.xx.xx}:8081/fire_base64`.\u003c/br\u003e\n\n### 3. Execute the Gradio demo\n  - Setup `Gradio`\n    Ensure that the necessary dependencies are installed. \u003c/br\u003e\n    `Gradio` requires `Python 3.7` or above. \u003c/br\u003e\n    Install `Gradio` using `pip` by running the following command:\n    ```bash\n    pip install -r requirements.txt\n    ```\n  - Run the demo with the following command:\n    ```bash\n    cd gradio\n    python demo.py\n    ```\n  - `SDK` can be tested on the following URL: `http://127.0.0.1:9000`\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkby-ai%2Ffire-smoke-detection-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkby-ai%2Ffire-smoke-detection-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkby-ai%2Ffire-smoke-detection-docker/lists"}