{"id":28506199,"url":"https://github.com/alvonx/alvonCV","last_synced_at":"2025-07-05T03:32:00.731Z","repository":{"id":57409993,"uuid":"365591773","full_name":"alvonx/alvonCV","owner":"alvonx","description":"Computer Vision Helper Package","archived":false,"fork":false,"pushed_at":"2023-04-07T15:18:31.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T10:49:20.036Z","etag":null,"topics":["alvoncv","face-detection","face-mesh","mediapipe","mediapipe-face-detection","mediapipe-facemesh","python","python-package","utils"],"latest_commit_sha":null,"homepage":"","language":"Python","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/alvonx.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}},"created_at":"2021-05-08T19:06:40.000Z","updated_at":"2023-04-07T15:18:01.000Z","dependencies_parsed_at":"2023-07-26T10:44:30.129Z","dependency_job_id":"c74d7064-820f-4962-a79c-50c872827ada","html_url":"https://github.com/alvonx/alvonCV","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"4501d09cef5b80100b858001a6499a50408bd5de"},"previous_names":["alvon-x/alvoncv"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/alvonx/alvonCV","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvonx%2FalvonCV","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvonx%2FalvonCV/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvonx%2FalvonCV/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvonx%2FalvonCV/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alvonx","download_url":"https://codeload.github.com/alvonx/alvonCV/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvonx%2FalvonCV/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263676994,"owners_count":23494615,"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":["alvoncv","face-detection","face-mesh","mediapipe","mediapipe-face-detection","mediapipe-facemesh","python","python-package","utils"],"created_at":"2025-06-08T20:05:03.350Z","updated_at":"2025-07-05T03:32:00.724Z","avatar_url":"https://github.com/alvonx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Computer Vision Helper Packages\n\n---\n\n- Face Detection\n- Face Mesh\n\n## Install the package\n```sh\npip install alvonCV\n```\n\n## Demo Code for Face Detection\n\n```c\nimport alvonCV\nimport cv2\nimport time\n\ncap = cv2.VideoCapture(0)\npTime = 0\n# here you use the alvonCV package\nfaceDetectorObj = alvonCV.FaceDetector()\n\nwhile True:\n    success, img = cap.read()\n    img, bboxs = faceDetectorObj.findFaces(img, draw=True)\n    cTime = time.time()\n    fps = 1 / (cTime - pTime)\n    pTime = cTime\n    cv2.putText(img, f'FPS: {int(fps)}', (20, 70), cv2.FONT_HERSHEY_PLAIN, 3, (0, 255, 0), 2)\n    cv2.imshow(\"Image\", img)\n    cv2.waitKey(1)\n```\n\n## Demo Code for Face Mesh\n\n```c\nimport alvonCV\nimport cv2\nimport time\n\ncap = cv2.VideoCapture(0)\npTime = 0\nfaceDetectorObj = alvonCV.FaceMeshDetector()\n\nwhile True:\n    success, img = cap.read()\n    img = faceDetectorObj.findFaceMesh(img, draw=True)\n    cTime = time.time()\n    fps = 1 / (cTime - pTime)\n    pTime = cTime\n    cv2.putText(img, f'FPS: {int(fps)}', (20, 70), cv2.FONT_HERSHEY_PLAIN, 3, (0, 255, 0), 2)\n    cv2.imshow(\"Image\", img)\n    cv2.waitKey(1)\n\n```\n\n## Demo Code for Hand Detector\n\n```c\nimport alvonCV\nimport cv2\nimport time\n\ncap = cv2.VideoCapture(0)\ndetector = alvonCV.HandDetector(detectionCon=0.8, maxHands=1)\nwhile True:\n    # Get image frame\n    success, img = cap.read()\n    \n    # Find the hand and its landmarks\n    img = detector.findHands(img)\n    lmList, bbox = detector.findPosition(img)\n    fingersUp = detector.fingersUp()\n    print(fingersUp)\n\n    # Display\n    cv2.imshow(\"Image\", img)\n    cv2.waitKey(1)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvonx%2FalvonCV","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falvonx%2FalvonCV","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvonx%2FalvonCV/lists"}