{"id":26891057,"url":"https://github.com/ncravino/recbot","last_synced_at":"2026-05-16T15:38:03.851Z","repository":{"id":193360293,"uuid":"688646639","full_name":"ncravino/recbot","owner":"ncravino","description":"Experiments in Computer Vision: Face Detection and Face Recognition using OpenCV","archived":false,"fork":false,"pushed_at":"2023-09-07T21:36:54.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-06T18:53:10.254Z","etag":null,"topics":["computer-vision","cpp","deep-learning","face-detection","face-recognition","harcascades","opencv","sface"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ncravino.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":"2023-09-07T19:48:33.000Z","updated_at":"2023-09-07T19:57:52.000Z","dependencies_parsed_at":"2023-09-07T22:54:45.471Z","dependency_job_id":null,"html_url":"https://github.com/ncravino/recbot","commit_stats":null,"previous_names":["ncravino/recbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ncravino/recbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncravino%2Frecbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncravino%2Frecbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncravino%2Frecbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncravino%2Frecbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ncravino","download_url":"https://codeload.github.com/ncravino/recbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncravino%2Frecbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33108232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["computer-vision","cpp","deep-learning","face-detection","face-recognition","harcascades","opencv","sface"],"created_at":"2025-03-31T22:12:46.762Z","updated_at":"2026-05-16T15:38:03.833Z","avatar_url":"https://github.com/ncravino.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RECBOT: Experiments on Face detection and recognition \n\nUses HAR cascades for fast good-enough face detection.\nUses [SFace](https://github.com/opencv/opencv_zoo/tree/main/models/face_recognition_sface) for face recognition via cosine similarity against model computed features of samples.\n\nRemember:\n- Face Detection: is there a face in the image?\n- Face Recognition: whose face is in the image?\n\n## Dependencies\n- Install/Compile libopencv-dev and opencv-data\n- Install cmake, make, and g++\n\nWill use `-march=native` in order to enable SSE, AVX, et al. where possible.\n\n## Using\n- `make prepare` will prepare cmake directories and download model and it's LICENSE.\n- `make build` will build everything\n- `make sample` will run the sampler to capture 10 samples of a face using the computer camera and crop it to the bounding box found by the face detector.\n- `make recon` will run the recognizer and output \"PASS\" or \"FAIL\", with exit codes 0 or -1 respectively.\n\nBinaries can be found on `_build/`.\n\n## Notes:\n\n### Choosing the camera \nYou can change the camera by changing the index (0) on:\n`#define CAMERA_INDEX 0`\nin both `recbot_recon.cpp` and `recbot_samples.cpp`. Use `ls /dev/video*` to list, and note that not all devices are actual cameras.\n\n### Simple Detection Example\nUnder `./examples/` you can check a simple face detection example using HAR Cascades. \n\n## Troubleshooting:\nIf vscode intellisense is not working add \"/usr/include/**\" or equivalent to `includePath` in the C/C++ properties (`c_cpp_properties.json`).\n\n\n## TODO:\n- Command line argument parsing\n- Make this work with PAM for authentication\n- Ensure memory is not leaking, because right now this runs as a one shot POC and I didn't care.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncravino%2Frecbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fncravino%2Frecbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncravino%2Frecbot/lists"}