{"id":18698915,"url":"https://github.com/tiagosiebler/caffeclassifiermac","last_synced_at":"2025-11-08T19:30:28.501Z","repository":{"id":91581678,"uuid":"105935734","full_name":"tiagosiebler/CaffeClassifierMac","owner":"tiagosiebler","description":"Xcode project implementing the C++ caffe classification sample to build a standalone executable.","archived":false,"fork":false,"pushed_at":"2017-10-05T20:19:08.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-28T04:44:40.305Z","etag":null,"topics":["caffe","cpp","image-classification","image-recognition","machine-learning","opencv3"],"latest_commit_sha":null,"homepage":null,"language":"C++","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/tiagosiebler.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":"2017-10-05T20:14:25.000Z","updated_at":"2019-12-17T10:35:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"f5946d89-2ba7-4cda-993b-77e8285a3891","html_url":"https://github.com/tiagosiebler/CaffeClassifierMac","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagosiebler%2FCaffeClassifierMac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagosiebler%2FCaffeClassifierMac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagosiebler%2FCaffeClassifierMac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagosiebler%2FCaffeClassifierMac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiagosiebler","download_url":"https://codeload.github.com/tiagosiebler/CaffeClassifierMac/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239559360,"owners_count":19659028,"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":["caffe","cpp","image-classification","image-recognition","machine-learning","opencv3"],"created_at":"2024-11-07T11:30:16.047Z","updated_at":"2025-11-08T19:30:28.432Z","avatar_url":"https://github.com/tiagosiebler.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Card Classifier\r\n\r\nUse pretrained neural networks to estimate what playing card is currently given via image. Output returns top 5 matches, each with degree of certainty. \r\n\r\nExample output:\r\n```[\r\n{ \"value\": 0.9929, \"match\":\"8c\"}\r\n,\r\n{ \"value\": 0.0071, \"match\":\"8s\"}\r\n,\r\n{ \"value\": 0.0000, \"match\":\"8h\"}\r\n,\r\n{ \"value\": 0.0000, \"match\":\"8d\"}\r\n,\r\n{ \"value\": 0.0000, \"match\":\" noise\"}\r\n]\r\n```\r\n\r\n## Prerequisites\r\n- OpenCV 3\r\n- Caffe\r\n- libboost_system (brew install boost)\r\n- libglog (brew install glog)\r\n\r\n### Caffe Notes\r\nIn the Makefile.config, ensure the following is present and uncommented:\r\n\r\n```CPU_ONLY := 1\r\nOPENCV_VERSION := 3\r\nBLAS_INCLUDE := $(shell brew --prefix openblas)/include \r\nBLAS_LIB := $(shell brew --prefix openblas)/lib\r\n```\r\n\r\nThen:\r\n```make all -j8\r\nmake test -j8\r\nmake runtest\r\nmake distribute -j8\r\n```\r\n\r\n## Usage\r\n`CaffeClassifier deploy.prototxt network.caffemodel mean.binaryproto labels.txt targetImage.jpg`\r\n\r\n\r\n## Notes\r\n- This process is too slow to be used in a live scenario, but can be used to build a dictionary for later access. Assuming there is a limited dataset.\r\n- This Xcode project is heavily based on the C++ classification example from the Caffe repo by the Berkeley Vision and Learning Center: https://github.com/BVLC/caffe/blob/master/examples/cpp_classification/classification.cpp","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagosiebler%2Fcaffeclassifiermac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiagosiebler%2Fcaffeclassifiermac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagosiebler%2Fcaffeclassifiermac/lists"}