{"id":14958941,"url":"https://github.com/enpit/tensorflow-for-lego","last_synced_at":"2025-10-08T07:49:22.367Z","repository":{"id":95454986,"uuid":"101657911","full_name":"enpit/tensorflow-for-lego","owner":"enpit","description":null,"archived":false,"fork":false,"pushed_at":"2017-09-23T10:20:52.000Z","size":15796,"stargazers_count":8,"open_issues_count":2,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-07T02:05:43.827Z","etag":null,"topics":["machine-learning","object-detection","tensorflow","tensorflow-experiments"],"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/enpit.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-08-28T15:29:26.000Z","updated_at":"2024-01-19T01:59:06.000Z","dependencies_parsed_at":"2023-03-17T16:45:31.063Z","dependency_job_id":null,"html_url":"https://github.com/enpit/tensorflow-for-lego","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":0.4,"last_synced_commit":"d9705bcbd15bcf121011886f02c00fc04650eb66"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/enpit/tensorflow-for-lego","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enpit%2Ftensorflow-for-lego","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enpit%2Ftensorflow-for-lego/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enpit%2Ftensorflow-for-lego/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enpit%2Ftensorflow-for-lego/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enpit","download_url":"https://codeload.github.com/enpit/tensorflow-for-lego/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enpit%2Ftensorflow-for-lego/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278909709,"owners_count":26066887,"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-10-08T02:00:06.501Z","response_time":56,"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":["machine-learning","object-detection","tensorflow","tensorflow-experiments"],"created_at":"2024-09-24T13:18:33.944Z","updated_at":"2025-10-08T07:49:22.328Z","avatar_url":"https://github.com/enpit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Tensorflow for Lego object detection\n\n## Requirements\n- Tensorflow 1.2.1\n- ffmpeg 3.3.3\n(Tested on macOS 10.12.6)\n\n## Prepare Training images\n\nCreate video of a specific brick, e.g. brick2x4.mov\n\nMove to training-data/brick2x4\n\nCreate images (3 per second):\n```\n$ ffmpeg -i brick2x4.mov -vf fps=3 img%03d.jpg\n```\n\n## Start training\n```\n$ ./learn.sh\n```\n\n## Predict recognition\n```\n$ python label_image.py evaluation-data/eval2x2.png\nbrick2x2 (score = 0.67055)\nbrick2x3 (score = 0.28938)\nbrick2x4 (score = 0.03470)\nbrick1x2 (score = 0.00537)\n```\n## Resources\n\n- See also https://codelabs.developers.google.com/codelabs/tensorflow-for-poets/#0\n\n- The retrain.py script is part of the tensorflow repo\n\n```\n$ curl -O https://raw.githubusercontent.com/tensorflow/tensorflow/r1.1/tensorflow/examples/image_retraining/retrain.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenpit%2Ftensorflow-for-lego","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenpit%2Ftensorflow-for-lego","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenpit%2Ftensorflow-for-lego/lists"}