{"id":25202312,"url":"https://github.com/chriskuipers/rp1_videostreamfiltration","last_synced_at":"2026-05-05T07:31:39.963Z","repository":{"id":204466892,"uuid":"121016947","full_name":"chriskuipers/RP1_VideoStreamFiltration","owner":"chriskuipers","description":"A novel approach to anonymize PII in real-time video streams using OpenCV and a DNN","archived":false,"fork":false,"pushed_at":"2018-02-11T14:37:43.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-23T23:08:14.531Z","etag":null,"topics":["anonymization","dnn","opencv3-python","python3","raspberry-pi-3","video-streaming"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chriskuipers.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2018-02-10T13:18:53.000Z","updated_at":"2025-06-25T12:33:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b00a408-45bb-4c51-8f07-e2d8d5f859fc","html_url":"https://github.com/chriskuipers/RP1_VideoStreamFiltration","commit_stats":null,"previous_names":["chriskuipers/rp1_videostreamfiltration"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chriskuipers/RP1_VideoStreamFiltration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chriskuipers%2FRP1_VideoStreamFiltration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chriskuipers%2FRP1_VideoStreamFiltration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chriskuipers%2FRP1_VideoStreamFiltration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chriskuipers%2FRP1_VideoStreamFiltration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chriskuipers","download_url":"https://codeload.github.com/chriskuipers/RP1_VideoStreamFiltration/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chriskuipers%2FRP1_VideoStreamFiltration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32640533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"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":["anonymization","dnn","opencv3-python","python3","raspberry-pi-3","video-streaming"],"created_at":"2025-02-10T06:18:26.430Z","updated_at":"2026-05-05T07:31:39.948Z","avatar_url":"https://github.com/chriskuipers.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Video Stream Filtration\n## Prerequisites\nThese are based on Ubuntu 16.0.4.1 LTS\n\n### Apt packages\n```\nbuild-essential\ncmake \npkg-config\nlibjpeg8-dev \nlibtiff5-dev \nlibjasper-dev \nlibpng12-dev\nlibavcodec-dev \nlibavformat-dev \nlibswscale-dev \nlibv4l-dev\nlibxvidcore-dev \nlibx264-dev\nlibgtk-3-dev\nlibatlas-base-dev \ngfortran\nffmpeg\n```\n\n```\npython2.7-dev \n```\n\nOr\n\n```\npython3.5-dev\n```\n\n### PIP packages\n```\nnumpy\nimutils\n```\n\n### OpenCV\n```\nOpenCV 3.3.0\n```\n\n## Options\n```\nusage: rp85.py [-h] [-z BLUR] [-Z BLURMEDIAN] [-x BLURGAUSSIAN] [-y WARPING]\n               [-Y FILL] [-D DRAW] [-E ENCRYPT] [-b BLURLEVEL]\n               [-B BLURPADDING] [-c CODEC] [-C CONFIDENCE] [-d DETECTION]\n               [-i FEEDIP] [-e FEEDUSB] [-f FRAMES] [-I INSTALL] [-l LABELS]\n               [-L LOGGING] [-m MODEL] [-o ORIGINAL] [-O OUTPUT] [-R RESTREAM]\n               [-p PROTOTXT] [-s SHOWLOCAL] [-t TIMER]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -z BLUR, --blur BLUR  Set to yes to apply blurring to the detections\n  -Z BLURMEDIAN, --blurmedian BLURMEDIAN\n                        Set to yes to apply median blurring to the detections\n  -x BLURGAUSSIAN, --blurgaussian BLURGAUSSIAN\n                        Set to yes to apply gaussian blurring to the\n                        detections\n  -y WARPING, --warping WARPING\n                        Set to yes to apply warping to the detections\n  -Y FILL, --fill FILL  Set to yes to apply filling to the detections\n  -D DRAW, --draw DRAW  Set to yes to draw a rectangle on the detections\n  -E ENCRYPT, --encrypt ENCRYPT\n                        Set to yes to apply AES encryption to the original\n                        stream\n  -b BLURLEVEL, --blurlevel BLURLEVEL\n                        Set the blur intensity (size of pixel square\n  -B BLURPADDING, --blurpadding BLURPADDING\n                        Set the blur padding applied to the frames\n  -c CODEC, --codec CODEC\n                        Set the type of codec of output video\n  -C CONFIDENCE, --confidence CONFIDENCE\n                        Confidence level, to filter out weak/incorrect\n                        detections\n  -d DETECTION, --detection DETECTION\n                        Set to yes to turn on detections using DNN\n  -i FEEDIP, --feedip FEEDIP\n                        Set the URL to the camera\n  -e FEEDUSB, --feedusb FEEDUSB\n                        Set the USB feed to be used (USB socket number as X,\n                        aka /dev/videoX)\n  -f FRAMES, --frames FRAMES\n                        Set the FPS rate for the video output file\n  -I INSTALL, --install INSTALL\n                        Install opencv on the specified platform: ubuntu-16.04\n                        (Note: this does not work)\n  -l LABELS, --labels LABELS\n                        Set to 'yes' to label the detections\n  -L LOGGING, --logging LOGGING\n                        Specify the optional logfile\n  -m MODEL, --model MODEL\n                        path to Caffe pre-trained DNN model\n  -o ORIGINAL, --original ORIGINAL\n                        path to output unaltered video file\n  -O OUTPUT, --output OUTPUT\n                        path to output video file\n  -R RESTREAM, --restream RESTREAM\n                        restream the edited feed\n  -p PROTOTXT, --prototxt PROTOTXT\n                        path to Caffe 'deploy' prototxt file\n  -s SHOWLOCAL, --showlocal SHOWLOCAL\n                        Show the video stream on the local machine\n  -t TIMER, --timer TIMER\n                        Set the time the script runs\n```\n\n## Example\n```\npython rp85.py --model Caffenet.Model --prototxt Caffenet.Proto --feedusb 0 --detection yes --confidence 0.2 --draw yes --labels yes --blur yes --blurlevel 50 --blurpadding 25\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchriskuipers%2Frp1_videostreamfiltration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchriskuipers%2Frp1_videostreamfiltration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchriskuipers%2Frp1_videostreamfiltration/lists"}