{"id":18674660,"url":"https://github.com/cocoa-ai/stylesvisiondemo","last_synced_at":"2025-04-12T02:02:09.077Z","repository":{"id":215835005,"uuid":"95824489","full_name":"cocoa-ai/StylesVisionDemo","owner":"cocoa-ai","description":"🖼 iOS11 demo application for image style classification.","archived":false,"fork":false,"pushed_at":"2019-10-08T22:24:57.000Z","size":1026,"stargazers_count":47,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T21:47:13.237Z","etag":null,"topics":["classification","coreml","ios","machine-learning","swift","swift4","vision"],"latest_commit_sha":null,"homepage":"https://github.com/cocoa-ai","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cocoa-ai.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-06-29T22:15:15.000Z","updated_at":"2022-10-22T22:19:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"53edadc1-8d96-4cf6-a06d-720dd0018812","html_url":"https://github.com/cocoa-ai/StylesVisionDemo","commit_stats":null,"previous_names":["cocoa-ai/stylesvisiondemo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoa-ai%2FStylesVisionDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoa-ai%2FStylesVisionDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoa-ai%2FStylesVisionDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoa-ai%2FStylesVisionDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cocoa-ai","download_url":"https://codeload.github.com/cocoa-ai/StylesVisionDemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505861,"owners_count":21115354,"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":["classification","coreml","ios","machine-learning","swift","swift4","vision"],"created_at":"2024-11-07T09:19:48.012Z","updated_at":"2025-04-12T02:02:09.067Z","avatar_url":"https://github.com/cocoa-ai.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Styles Vision Demo\n\nA Demo application using `Vision` and `CoreML` frameworks to detect the most\nlikely style of the given image.\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://github.com/cocoa-ai/StylesVisionDemo/blob/master/Screenshot.png\" alt=\"StylesVisionDemo\" width=\"300\" height=\"534\" /\u003e\n\u003c/div\u003e\n\n## Model\n\nThis demo is based on the \"Finetuning CaffeNet on Flickr Style\" neural network\nclassifier, which was converted from original [Caffe model](https://gist.github.com/sergeyk/034c6ac3865563b69e60)\nto [CoreML model](https://drive.google.com/file/d/0B1ghKa_MYL6maFFWR3drLUFNQ1E/view?usp=sharing)\nusing [coremltools](https://pypi.python.org/pypi/coremltools) python package.\n\n## Requirements\n\n- Xcode 9\n- iOS 11\n\n## Installation\n\n```sh\ngit clone https://github.com/cocoa-ai/StylesVisionDemo.git\ncd StylesVisionDemo\npod install\nopen Styles.xcworkspace/\n```\n\nDownload the [CoreMl model](https://drive.google.com/file/d/1aF-3p8zyrTzFE1tPpdBgLeWa0kanCN--/view?usp=sharing)\nand add the file to \"Resources\" folder in the project's directory.\n\nBuild the project and run it on a simulator or a device with iOS 11.\n\n## Conversion\n\n```sh\ncd Convert\n./download.sh\npython convert.py\n```\n\n## Author\n\nVadym Markov, markov.vadym@gmail.com\n\n## Credits\n\nOriginal \"Finetuning CaffeNet on Flickr Style\" [Caffe model](https://gist.github.com/sergeyk/034c6ac3865563b69e60)\n\n## References\n- [Caffe Model Zoo](https://github.com/caffe2/caffe2/wiki/Model-Zoo)\n- [Apple Machine Learning](https://developer.apple.com/machine-learning/)\n- [Vision Framework](https://developer.apple.com/documentation/vision)\n- [CoreML Framework](https://developer.apple.com/documentation/coreml)\n- [coremltools](https://pypi.python.org/pypi/coremltools)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcocoa-ai%2Fstylesvisiondemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcocoa-ai%2Fstylesvisiondemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcocoa-ai%2Fstylesvisiondemo/lists"}