{"id":25300314,"url":"https://github.com/ehofesmann/pawpal","last_synced_at":"2025-07-30T11:37:53.765Z","repository":{"id":95023744,"uuid":"160842179","full_name":"ehofesmann/PawPal","owner":"ehofesmann","description":"Entertaining and Training your dog while you are away.","archived":false,"fork":false,"pushed_at":"2018-12-15T21:58:00.000Z","size":14879,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T21:22:30.902Z","etag":null,"topics":["activity-recognition","biting","c3d","darkflow","dog","mpact","pawpal","pet","python","surveillance","tensorflow","yolo"],"latest_commit_sha":null,"homepage":null,"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/ehofesmann.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":"2018-12-07T15:36:35.000Z","updated_at":"2024-12-10T22:59:56.000Z","dependencies_parsed_at":"2023-05-02T15:31:37.720Z","dependency_job_id":null,"html_url":"https://github.com/ehofesmann/PawPal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ehofesmann/PawPal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehofesmann%2FPawPal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehofesmann%2FPawPal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehofesmann%2FPawPal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehofesmann%2FPawPal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehofesmann","download_url":"https://codeload.github.com/ehofesmann/PawPal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehofesmann%2FPawPal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267858763,"owners_count":24155958,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"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":["activity-recognition","biting","c3d","darkflow","dog","mpact","pawpal","pet","python","surveillance","tensorflow","yolo"],"created_at":"2025-02-13T05:48:32.313Z","updated_at":"2025-07-30T11:37:53.740Z","avatar_url":"https://github.com/ehofesmann.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PawPal\nEric Hofesmann, Aman Kumar Jha, Preet Gill, Vihang Agarwal\n\nEntertaining and Training your dog while you are away.\n\nUsing state-of-the-art computer vision algorithms, this dog localization and activity recognition system can determine what your dog is doing from a home surveillance camera.\n\n![](https://github.com/ehofesmann/PawPal/blob/master/images/pipeline.png)\n\n\n\n## Results\n![](https://github.com/ehofesmann/PawPal/blob/master/images/furniture.png)\n\n#### Biting C3D Recogntiion Accuracy (%)\n|  Mean | Standard Deviation | Random Chance |  \n|:----------:|:------:| :----:|\n|  68.41 | 6.10 | 50.00 |\n\nAcross 5 splits given in ```tfrecords_pawpal/split.npy``` in the dataset download link below\n\n\n![](https://github.com/ehofesmann/PawPal/blob/master/images/biting.png)\n\n\n\n## Usage\n\n\n\n### Requirements\nPython 3.5\n\nOpenCV \n\nTensorflow 1.0.0\n\nCython\n\n\n[Darkflow](https://github.com/thtrieu/darkflow) for Yolo\n\n[M-PACT](https://github.com/MichiganCOG/M-PACT) Activity Recognition Platform\n\nDetailed installation instructions below.\n\n### Installation and Setup\n\nFollow instructions below to install darkflow and PawPal\n```\ngit clone https://github.com/thtrieu/darkflow\nvirtualenv -p python3.5 env\nsource env/bin/activate\npip install tensorflow==1.0.0 \npip install Cython \npip install opencv-python\ncd darkflow\nsudo apt-get install python3 python-dev python3-dev \\\n     build-essential libssl-dev libffi-dev \\\n     libxml2-dev libxslt1-dev zlib1g-dev \\\n     python-pip\npip install -e .\nflow  (ignore any errors)\ncd ..\ngit clone https://github.com/ehofesmann/PawPal/\ncd PawPal\n\n```\nDownload the weights for C3D [Download link](https://umich.box.com/s/va0jkzx6ym0vb4k6909sxebjijne0uez)\n\nDownload yolo.weights [Download link](https://drive.google.com/drive/folders/0B1tW_VtY7onidEwyQ2FtQVplWEU)\n```\nmv ~/Downloads/checkpoint-532.npy ./c3d/\nmv ~/Downloads/yolo.weights ../darkflow/bin/\n```\nUpdate the /path/to/darkflow in detect_video.py\n```\npython detect_video.py --vidpath example/example1.mp4\n```\n\n### Testing\n\n```\npython detect_video.py --vidpath example/example1.mp4\n```\n\n### Training or Finetuneing\n\n#### Dataset\nDog biting vs non biting tfrecords dataset [Download link](https://umich.box.com/s/jptvbcuig2ieejmhhv7p8kic7t3vraeu)\n\n![](https://github.com/ehofesmann/PawPal/blob/master/images/data.png)\n\n\n#### Activity Recognition Model\nInstall M-PACT and copy ```PawPal/c3d/c3d_frozen``` into the models directory of M-PACT\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehofesmann%2Fpawpal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehofesmann%2Fpawpal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehofesmann%2Fpawpal/lists"}