{"id":24785658,"url":"https://github.com/lin775533/opencv-canny-processor","last_synced_at":"2025-09-04T09:39:10.538Z","repository":{"id":273940041,"uuid":"921378107","full_name":"Lin775533/opencv-canny-processor","owner":"Lin775533","description":"A real-time camera-based edge detection system implemented in C++ using OpenCV and libcamera, capturing video at 640x480 resolution and processing frames through the Canny algorithm while measuring CPU and Wall time performance.","archived":false,"fork":false,"pushed_at":"2025-01-23T21:04:24.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T22:18:22.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","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/Lin775533.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":"2025-01-23T20:53:37.000Z","updated_at":"2025-01-23T21:04:27.000Z","dependencies_parsed_at":"2025-01-23T22:18:24.654Z","dependency_job_id":"a247b46a-de8e-4540-a633-cdbc0d6c9fc8","html_url":"https://github.com/Lin775533/opencv-canny-processor","commit_stats":null,"previous_names":["lin775533/opencv-canny-processor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lin775533%2Fopencv-canny-processor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lin775533%2Fopencv-canny-processor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lin775533%2Fopencv-canny-processor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lin775533%2Fopencv-canny-processor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lin775533","download_url":"https://codeload.github.com/Lin775533/opencv-canny-processor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245240810,"owners_count":20583099,"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":[],"created_at":"2025-01-29T14:19:45.977Z","updated_at":"2025-03-24T08:46:14.546Z","avatar_url":"https://github.com/Lin775533.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Canny Edge Detection Camera System\n\nA real-time camera-based Canny edge detection system implemented using OpenCV and C++.\n\n## Documentation\n- [Detailed Project Report](https://hackmd.io/@Jimmy775533/Hy9SdmeOyx)\n\n## Features\n- Real-time video capture using libcamera\n- Canny edge detection processing\n- Performance metrics tracking (CPU time vs Wall time)\n- Frame-by-frame processing with up to 150 frames\n- Video encoding capability\n\n## Prerequisites\n- OpenCV 4.x\n- GStreamer\n- libcamera\n- C++ compiler\n- ffmpeg (for video encoding)\n\n## Installation\n1. Clone the repository:\n```bash\ngit clone https://github.com/YourUsername/canny-edge-camera-YCLin.git\ncd canny-edge-camera-YCLin\n```\n\n2. Compile the program:\n```bash\ng++ canny_util.c camera_canny.cpp -o camera_canny -I. `pkg-config --cflags --libs opencv4`\n```\n\n## Usage\n1. Run the program:\n```bash\n./camera_canny \u003csigma\u003e \u003ctlow\u003e \u003cthigh\u003e\n```\nExample:\n```bash\n./camera_canny 1.0 0.5 0.75\n```\n\n2. Press ESC to start processing\n3. The program will automatically process 150 frames\n4. Results will be saved as individual PGM files\n\n### Creating Video from Frames\nTo encode processed frames into video:\n```bash\nffmpeg -i frame%03d.pgm -pix_fmt yuvj420p frame_vid.h264\n```\n\n## Project Structure\n- `camera_canny.cpp`: Main program file\n- `canny_util.c`: Canny edge detection implementation\n- `report.md`: Detailed project report\n- `README.md`: Project documentation\n\n## Author\n- YU-CHUN, LIN\n\n## License\nThis project is licensed under the MIT License - see the LICENSE file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flin775533%2Fopencv-canny-processor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flin775533%2Fopencv-canny-processor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flin775533%2Fopencv-canny-processor/lists"}