{"id":24830140,"url":"https://github.com/quving/keras-image-classifier","last_synced_at":"2025-10-10T14:39:42.031Z","repository":{"id":97571491,"uuid":"121190065","full_name":"Quving/keras-image-classifier","owner":"Quving","description":"This repository contains different approaches to classify images.","archived":false,"fork":false,"pushed_at":"2018-08-28T00:42:28.000Z","size":5187,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T02:43:10.714Z","etag":null,"topics":[],"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/Quving.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":"2018-02-12T02:23:45.000Z","updated_at":"2018-08-28T00:42:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"7a0a3f9b-cbc8-4987-9857-ce30b392785b","html_url":"https://github.com/Quving/keras-image-classifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Quving/keras-image-classifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quving%2Fkeras-image-classifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quving%2Fkeras-image-classifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quving%2Fkeras-image-classifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quving%2Fkeras-image-classifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Quving","download_url":"https://codeload.github.com/Quving/keras-image-classifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quving%2Fkeras-image-classifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004182,"owners_count":26083689,"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-10T02:00:06.843Z","response_time":62,"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":[],"created_at":"2025-01-30T23:49:06.583Z","updated_at":"2025-10-10T14:39:42.026Z","avatar_url":"https://github.com/Quving.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![alt text](https://viblo.asia/uploads/1b042898-d4d8-4a90-b7aa-831eea3a5f83.png)\n\n\n# keras-image-classifier\nThis repository contains different subprojects with different approaches to train a classifier. In scope of a master project, the task was to classify different wooden blocks of different color and shapes. Unlike usual blogs and github repositories, this repository provide the full code as well as the used training samples. The training samples are recorded by myself and they can be located [here](https://github.com/Quving/keras-image-classifier/tree/master/data/). Enjoy!\n\n___\n\n## Install dependencies\n``` pip install -r requirements.txt ```\n___\n## Data set\nDownload the samples the neural network was trained with can be obtained with following command.\n\n``` wget -O original_samples.zip http://nextcloud.quving.com/s/5B4zfnLSMXsa37R/download ```\n### Training samples\nAs mentioned in the description, the data are collected by myself using the [xbox one kinect](https://www.xbox.com/de-DE/xbox-one/accessories/kinect). The samples have been collected on a white table. Hence, they are quite idealistic for classification since they are not embedded in a cluttered environment. With this background, it is sufficient to record ~130 samples of each class to maintain a very high accuracy (~99%). In order to prevent overfitting, but to gain robustness, the training samples are augmented via a number of random transformations. In the end, each class are represented by **1000 samples**.\n\n#### Validation samples\nEach class has **200 validation samples**. They have been splitted up from the bunch of augmented samples.\n\n#### Test samples\nTest samples are not involved in the training stage. They have been created for you to test the neural network if you don't believe in my working code snippets.\n\n### Using a pre-trained network (here VGG16) (Achieved accuracy ~ 99%)\n[use_vgg16/](https://github.com/Quving/keras-image-classifier/tree/master/use-vgg16)\n\n___\n\n## Usage\n\n### Before training:\n\n``` bash initialize.sh ```\n\n##### Please keep in mind\nThis repository does not provide the trained weights of the neural networks. Once the script's are executed, the model's structure and weights are exported as default into the the folder **models/**.\n\n## Documentations\n[Keras](https://keras.io/)\n\n___\n## References\n- [building-powerful-image-classification-models-using-very-little-data](https://blog.keras.io/building-powerful-image-classification-models-using-very-little-data.html)\n- [bottleneck-features-multi-class-classification-keras](http://www.codesofinterest.com/2017/08/bottleneck-features-multi-class-classification-keras.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquving%2Fkeras-image-classifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquving%2Fkeras-image-classifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquving%2Fkeras-image-classifier/lists"}