{"id":17716580,"url":"https://github.com/lnxusr1/kenzy_image","last_synced_at":"2025-03-31T12:13:37.672Z","repository":{"id":65240007,"uuid":"583444256","full_name":"lnxusr1/kenzy_image","owner":"lnxusr1","description":"Computer Vision module for Python 3.x+ to perform face/object/motion detection and recognition.","archived":false,"fork":false,"pushed_at":"2023-06-25T20:27:44.000Z","size":23504,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-12T00:38:45.321Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/lnxusr1.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-12-29T19:55:40.000Z","updated_at":"2023-05-29T00:42:31.000Z","dependencies_parsed_at":"2024-10-25T16:38:00.535Z","dependency_job_id":"dac925e3-bd54-434b-bd19-4e3db9e2fdcf","html_url":"https://github.com/lnxusr1/kenzy_image","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnxusr1%2Fkenzy_image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnxusr1%2Fkenzy_image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnxusr1%2Fkenzy_image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnxusr1%2Fkenzy_image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnxusr1","download_url":"https://codeload.github.com/lnxusr1/kenzy_image/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246465227,"owners_count":20781919,"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":"2024-10-25T13:23:09.911Z","updated_at":"2025-03-31T12:13:37.654Z","avatar_url":"https://github.com/lnxusr1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kenzy_image \u0026middot; [![GitHub license](https://img.shields.io/github/license/lnxusr1/image_analyzer)](https://github.com/lnxusr1/kenzy_image/blob/master/LICENSE) ![Python Versions](https://img.shields.io/pypi/pyversions/yt2mp3.svg) ![Read the Docs](https://img.shields.io/readthedocs/kenzy_image) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/lnxusr1/kenzy_image)\n\nThis module is dedicated to simplifying the interactions required for face detection, face recognition, object detection, and motion detection.  Visit our main site: [https://kenzy.ai/](https://kenzy.ai/)\n\nMore info available in the [documentation](https://image-docs.kenzy.ai/)\n\n## Installation\n\nThe easiest way to install kenzy_image is with the following:\n\n```\npip install kenzy-image\n```\n\nJust make sure you're running Python 3.6 or newer.\n\n## Embedding into your program\n\nVisit the [detector](https://image-docs.kenzy.ai/en/latest/detector/) page in the [documentation](https://image-docs.kenzy.ai/) for more information.\n\n```\nimport cv2  # For webcam input\nfrom kenzy_image import detector\n\n# Create our Kenzy Detector Object\nmyImageDetector = detector(detectFaces=True, \n                           detectObjects=True, \n                           objModelType=\"ssd\",  # or yolo\n                           detectMotion=True, \n                           imageMarkupFaces=True, \n                           scaleFactor=0.5)\n\n# Add Named Faces to Recognize\nmyImageDetector.addFace(\"IMG_4291_portrait_jon.jpg\", \"Jon Doe\")\nmyImageDetector.addFace(\"IMG_7033_portrait_jane.jpg\", \"Jane Doe\")\n\n# Open the camera stream\ncam = cv2.VideoCapture(0)\n\nwhile True:\n\n    # Read frame from camera\n    ret, frame = cam.read()\n\n    # Analyze with kenzy_image\n    myImageDetector.analyze(frame)\n\n    print(\"=======================\")\n    print(\"FACES     =\", len(myImageDetector.faces))\n    print(\"OBJECTS   =\", [x.get(\"name\") for x in myImageDetector.objects])\n    print(\"MOVEMENTS =\", True if len(myImageDetector.movements) \u003e 0 else False)\n\n    # Show the frame with markup\n    cv2.imshow('KENZY_IMAGE', myImageDetector.image)\n\n    # Loop until [Esc] or \"q\"\n    if cv2.waitKey(1) \u0026 0xFF == ord('q'):\n        break\n\ncam.release()\ncv2.destroyAllWindows()\n```\n\n## Running as module\n\nOptions are as follows for starting kenzy_image:\n\n```\npython -m kenzy_image [OPTIONS]\n```\n\nFor example, to switch the model to MobileNet v3's SSD model use:\n```\npython -m kenzy_image --object-detect-type ssd  \n```\n\nUse ```--help``` for more information on options.\n\n## References and Other Useful Links\n\nMany thanks to those that build the models and core libraries that KENZY_IMAGE incorporates.  Please find links to those below:\n\n#### Face Detection \u0026 Recognition\n\n- [Face Recognition Concepts and Examples](https://git.ece.iastate.edu/se_329_cylicon_valley/face_recognition)\n- [Face Recognition Library](https://github.com/ageitgey/face_recognition)\n\n#### Object Detection\n\n- [COCO Inference Model \u0026amp; Config](https://github.com/zafarRehan/object_detection_COCO)\n- [COCO Labels](https://tech.amikelive.com/node-718/what-object-categories-labels-are-in-coco-dataset/) \u003c-- Better label set for frozen inference model\n- [YOLOv7 Model](https://github.com/wongkinyiu/yolov7) \u003c-- Source for the included [Yolov7-tiny.pt](https://github.com/WongKinYiu/yolov7/releases)\n- [YOLOv7 Python Library](https://github.com/akashAD98/yolov7-pip-1)\n\n### Motion Detection\n\n- [Motion Detection Example](https://towardsdatascience.com/image-analysis-for-beginners-creating-a-motion-detector-with-opencv-4ca6faba4b42)\n\n-----\n\n## Help \u0026amp; Support\nHelp and additional details is available at [https://kenzy.ai](https://kenzy.ai)\n\nRead the docs: [https://image-docs.kenzy.ai/](https://image-docs.kenzy.ai/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnxusr1%2Fkenzy_image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnxusr1%2Fkenzy_image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnxusr1%2Fkenzy_image/lists"}