{"id":19120705,"url":"https://github.com/kongruksiamza/coin-segmentation","last_synced_at":"2025-05-05T16:17:04.588Z","repository":{"id":109790496,"uuid":"205243276","full_name":"kongruksiamza/Coin-Segmentation","owner":"kongruksiamza","description":"Coin Segmentation : Python OpenCV","archived":false,"fork":false,"pushed_at":"2025-03-09T04:21:26.000Z","size":12065,"stargazers_count":3,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-05T16:16:43.769Z","etag":null,"topics":["coin","opencv","opencv3-python","python","segmentation"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/@KongRuksiamTutorial","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/kongruksiamza.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,"zenodo":null}},"created_at":"2019-08-29T20:14:17.000Z","updated_at":"2025-03-09T04:21:30.000Z","dependencies_parsed_at":"2024-02-11T09:28:14.815Z","dependency_job_id":"b9bf8bb5-9a66-4705-a863-9ccd1d04fad5","html_url":"https://github.com/kongruksiamza/Coin-Segmentation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kongruksiamza%2FCoin-Segmentation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kongruksiamza%2FCoin-Segmentation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kongruksiamza%2FCoin-Segmentation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kongruksiamza%2FCoin-Segmentation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kongruksiamza","download_url":"https://codeload.github.com/kongruksiamza/Coin-Segmentation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252531874,"owners_count":21763292,"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":["coin","opencv","opencv3-python","python","segmentation"],"created_at":"2024-11-09T05:14:45.149Z","updated_at":"2025-05-05T16:17:04.540Z","avatar_url":"https://github.com/kongruksiamza.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ตรวจจับและค้นหาเหรียญจากภาพ วิดีโอ กล้องแบบเรียลไทม์ด้วย Python + OpenCV\n![image](https://github.com/kongruksiamza/Coin-Segmentation/blob/be9b2b38ca5707a632e248f7a228ad9fb9985cf8/coin-assets-docs/02.png)\n## ไลบราลี่\n- opencv-python\n- numpy\n\n## หลักการและทฤษฎี\nอาศัยหลักการประมวลผลภาพกับรูปร่างและโครงสร้างของภาพโดยนำ **คณิตสัณฐานวิทยา (MM : Mathematical Morphology)** เพื่อประมวลผลภาพตามหลักทฤษฎีแลตติช เป็นเทคนิคสำหรับการวิเคราะห์และประมวลผลโครงสร้างทางเรขาคณิตบนพื้นฐานของทฤษฎีเซต ทฤษฎีตาข่าย โครงสร้างของเครือข่ายและฟังก์ชั่นแบบสุ่ม นิยมนำมาใช้งานกับภาพดิจิตอลเพื่อวิเคราะห์พื้นผิว ขนาด รูปร่าง พื้นที่นูน เป็นต้น\n\nการประมวลผลภาพกับรูปร่างและโครงสร้างภาพ เป็นเทคนิคของการประมวลผลภาพที่ขึ้นอยู่กับรูปร่าง ค่าของ Pixels ในภาพ Output ขึ้นอยู่กับการเปรียบเทียบของ Pixels ที่สอดคล้องกันในภาพ Input กับพื้นที่ใกล้เคียง โดยเลือกขนาดและรูปร่างของพื้นที่ใกล้เคียงมาสร้างการดำเนินการทางรูปร่างและโครงสร้างของภาพต่อไปซึ่งประกอบไปด้วย\n\n### อ่านภาพจากวิดีโอ \u0026 กล้อง\n![image](https://github.com/kongruksiamza/Coin-Segmentation/blob/be9b2b38ca5707a632e248f7a228ad9fb9985cf8/coin-assets-docs/08.png)\n### Gaussian Blur \u0026 Threshold\n![image](https://github.com/kongruksiamza/Coin-Segmentation/blob/be9b2b38ca5707a632e248f7a228ad9fb9985cf8/coin-assets-docs/10.png)\n### Morphological Closing\n![image](https://github.com/kongruksiamza/Coin-Segmentation/blob/be9b2b38ca5707a632e248f7a228ad9fb9985cf8/coin-assets-docs/12.png)\n### แสดงรูปร่างและกรองพื้นที่เหรียญ\n![image](https://github.com/kongruksiamza/Coin-Segmentation/blob/be9b2b38ca5707a632e248f7a228ad9fb9985cf8/coin-assets-docs/13.png)\n\n## 🎓 คอร์สเรียนที่น่าสนใจ [![Udemy](https://img.shields.io/badge/Udemy-A435F0?logo=udemy\u0026logoColor=fff)](https://www.udemy.com/user/kong-ruksiam/)\n- [สร้างแอพพลิเคชั่นด้วยภาษา Python (Real-World Projects)](https://www.udemy.com/course/python-real-world-projects/?referralCode=4D6784B6C4CF2CBB1892)\n- [สร้าง GUI Application ด้วย Python](https://www.udemy.com/course/python-gui-projects/?referralCode=CFE6A91D21C759EF13E1)\n- [พัฒนาเว็บด้วย Django Framework 4.x](https://www.udemy.com/course/django-framework-real-world-projects/?referralCode=63ED08A516BE8C4A93F7)\n- [พัฒนาระบบร้านค้าออนไลน์ด้วย Django Framework 4.x](https://www.udemy.com/course/django-framework-e-commerce/?referralCode=AFDB5F462F46815300C1)\n- [พัฒนา REST API ด้วย Django REST Framework](https://www.udemy.com/course/rest-api-django-rest-framework/?referralCode=3E81004F9DAE23131BC4)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkongruksiamza%2Fcoin-segmentation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkongruksiamza%2Fcoin-segmentation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkongruksiamza%2Fcoin-segmentation/lists"}