{"id":18494996,"url":"https://github.com/johnelliott/dcped-hack","last_synced_at":"2026-04-14T06:33:07.991Z","repository":{"id":73854234,"uuid":"58839893","full_name":"johnelliott/dcped-hack","owner":"johnelliott","description":"Pedestrian detector hack using raspberry pi camera, node streams, and hyperx/v-dom","archived":false,"fork":false,"pushed_at":"2016-05-15T02:32:19.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T01:52:33.429Z","etag":null,"topics":["camera","hack","opencv","pedestrian","raspberry-pi-camera","ssh"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/johnelliott.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":"2016-05-15T02:16:12.000Z","updated_at":"2017-04-22T00:25:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"e73339b5-0ddf-466d-b6e6-591424539688","html_url":"https://github.com/johnelliott/dcped-hack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/johnelliott/dcped-hack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnelliott%2Fdcped-hack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnelliott%2Fdcped-hack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnelliott%2Fdcped-hack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnelliott%2Fdcped-hack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnelliott","download_url":"https://codeload.github.com/johnelliott/dcped-hack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnelliott%2Fdcped-hack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31785672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["camera","hack","opencv","pedestrian","raspberry-pi-camera","ssh"],"created_at":"2024-11-06T13:23:02.402Z","updated_at":"2026-04-14T06:33:07.963Z","avatar_url":"https://github.com/johnelliott.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# about\nThis is a hack for the DC Great Streets hackathon put on by the District of Columbia government. Twitter hashtags for this event were #innomaytion and #GShackathon.\n\nThis requires a Raspberry Pi with a Raspberry Pi camera. The main hack is to call the Raspberry Pi camera using SSH from within node to skip deploying any code to the Pi.\n\nThe app has as server and browser front-end. The server gets a picture stream from pi via ssh/node child processes, pipes jpegs through openCV, does person detection, and sends data over a websocket to the browser with a virtual-DOM library that refreshes the view.\n\n# directory structure\nindex.js - server\n\nlib - modules using camera and openCV\n\nsrc - front-end code\n\n# use\nChange `lib/ssh-cam.js` to ssh to your Pi—this is the hacky bit.\n\nUses Node v4+ or whenever spreads were introduced. The front-end uses requires a browser supporting template literals.\n\nCheck out the `watch`, `build`, and `dbg` npm scripts in `package.json` to build and run the app in debug mode\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnelliott%2Fdcped-hack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnelliott%2Fdcped-hack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnelliott%2Fdcped-hack/lists"}