{"id":25774391,"url":"https://github.com/headless-start/real-time-sketch","last_synced_at":"2026-05-01T12:32:59.111Z","repository":{"id":271879948,"uuid":"914857392","full_name":"headless-start/real-time-sketch","owner":"headless-start","description":"This repository contains Real Time Sketch Generation using Adaptive Thresholding.","archived":false,"fork":false,"pushed_at":"2025-02-09T10:55:06.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-16T22:59:58.300Z","etag":null,"topics":["adaptivethreshold","canny-edge-detection","gaussian-filter","opencv","python3"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/headless-start.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}},"created_at":"2025-01-10T13:00:53.000Z","updated_at":"2025-02-09T10:55:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"f758ff41-3fb0-4c88-a781-abe830a00c76","html_url":"https://github.com/headless-start/real-time-sketch","commit_stats":null,"previous_names":["headless-start/livesketch_opencv","headless-start/real-time-sketch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/headless-start/real-time-sketch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headless-start%2Freal-time-sketch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headless-start%2Freal-time-sketch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headless-start%2Freal-time-sketch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headless-start%2Freal-time-sketch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/headless-start","download_url":"https://codeload.github.com/headless-start/real-time-sketch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/headless-start%2Freal-time-sketch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32497812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["adaptivethreshold","canny-edge-detection","gaussian-filter","opencv","python3"],"created_at":"2025-02-27T05:29:47.566Z","updated_at":"2026-05-01T12:32:59.060Z","avatar_url":"https://github.com/headless-start.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Real-Time Sketch Generation using Adaptive Thresholding  \n\n## 📌 Project Overview  \nThis Python project demonstrates **real-time sketch generation** from a webcam feed using **OpenCV**. The program captures video frames, processes them using image processing techniques (e.g., grayscale conversion, Gaussian blur, and Canny edge detection), and generates a sketch-like output.  \n\n---\n\n## 🚀 Key Features  \n1. **Grayscale Conversion and Blur**:  \n   - Each frame is converted to grayscale to simplify processing and the grayscale image is blurred to reduce noise and smooth edges. \n2. **Edge Detection**:  \n   - Edges are detected using intensity gradients, highlighting key features.  \n3. **Thresholding and Output**:  \n   - Edges are thresholded and displays live webcam feed with processed sketch like output.\n\n---\n\n## 🔍 How It Works  \n1. **Grayscale Conversion**:  \n   - Converts frames to grayscale using `cv2.cvtColor()`, reducing complexity and focusing on intensity.  \n2. **Gaussian Blur**:  \n   - Applies a Gaussian filter to reduce noise and improve edge detection.  \n3. **Canny Edge Detection**:  \n   - Detects edges using `cv2.Canny()` based on intensity gradients.  \n4. **Adaptive Thresholding**:  \n   - Converts edges into a binary image using `cv2.adaptiveThreshold()` for enhanced sketch effects.  \n\n---\n\n## 🛠 System Requirements  \n### Dependencies  \n- Python 3.8+  \n- Libraries: `opencv-python`\n\n---\n\n## 📄 License  \nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheadless-start%2Freal-time-sketch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheadless-start%2Freal-time-sketch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheadless-start%2Freal-time-sketch/lists"}