{"id":20360625,"url":"https://github.com/davidgasquez/category-recognition","last_synced_at":"2025-04-12T03:52:14.165Z","repository":{"id":26325290,"uuid":"29773679","full_name":"davidgasquez/category-recognition","owner":"davidgasquez","description":":camera: This tool allows image classification into different categories using OpenCV and Machine Learning techniques","archived":false,"fork":false,"pushed_at":"2015-02-09T18:12:36.000Z","size":35436,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T03:52:05.904Z","etag":null,"topics":["category-recognition","image-classification","opencv"],"latest_commit_sha":null,"homepage":"","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidgasquez.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}},"created_at":"2015-01-24T10:56:46.000Z","updated_at":"2018-06-16T16:14:11.000Z","dependencies_parsed_at":"2022-08-27T16:50:29.804Z","dependency_job_id":null,"html_url":"https://github.com/davidgasquez/category-recognition","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/davidgasquez%2Fcategory-recognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidgasquez%2Fcategory-recognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidgasquez%2Fcategory-recognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidgasquez%2Fcategory-recognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidgasquez","download_url":"https://codeload.github.com/davidgasquez/category-recognition/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514209,"owners_count":21116899,"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":["category-recognition","image-classification","opencv"],"created_at":"2024-11-14T23:42:21.619Z","updated_at":"2025-04-12T03:52:14.145Z","avatar_url":"https://github.com/davidgasquez.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"Category Recognition\n====================\n\nThis tool allows image classification into different categories using OpenCV\nand Machine Learning techniques.\n\nDependencies\n------------\n  - OpenCV\n\nResources Structure\n-------------------\n - resources/\n  - random_images/ \n  - categories_train/\n    - category_1/\n    - category_2/\n    - category_3/\n    - ...\n  - categories_test/\n    - category_1/\n    - category_2/\n    - category_3/\n    - ...\n\nRun\n---\n\n1. Fork, clone or download the source from GitHub\n2. Compile it using `make`\n3. Create vocabulary file with a bunch of random images `./make_vocabulary \u003cimgaes_folder_path\u003e`\n4. Make a folder to add categories folders with images to train SVM\n5. Create Bag of Words descriptors of your categories train images `./bow \u003cvocabulary_file_path\u003e \u003ctrain_images_folder\u003e`\n6. Now you have a file with the trained SVM and in console output you have the labels.\n7. Classify with `./classify \u003cvocabulary_file_path\u003e \u003cSVM_path\u003e \u003cnew_image_path\u003e\"`. It will return a number you must match in the computed labels when computing Bag of Words\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidgasquez%2Fcategory-recognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidgasquez%2Fcategory-recognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidgasquez%2Fcategory-recognition/lists"}