{"id":13771559,"url":"https://github.com/cocoa-ai/SentimentVisionDemo","last_synced_at":"2025-05-11T04:30:47.217Z","repository":{"id":215835002,"uuid":"97398547","full_name":"cocoa-ai/SentimentVisionDemo","owner":"cocoa-ai","description":"🌅 iOS11 demo application for visual sentiment prediction.","archived":false,"fork":false,"pushed_at":"2019-10-08T22:22:03.000Z","size":941,"stargazers_count":36,"open_issues_count":1,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T10:22:19.025Z","etag":null,"topics":["coreml","coreml-models","ios","machine-learning","sentiment-analysis","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}},"created_at":"2017-07-16T17:15:13.000Z","updated_at":"2024-12-15T22:45:08.000Z","dependencies_parsed_at":"2024-01-06T22:10:31.283Z","dependency_job_id":"a875fd88-6fb0-4522-8e8a-7cfdc444514a","html_url":"https://github.com/cocoa-ai/SentimentVisionDemo","commit_stats":null,"previous_names":["cocoa-ai/sentimentvisiondemo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoa-ai%2FSentimentVisionDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoa-ai%2FSentimentVisionDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoa-ai%2FSentimentVisionDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoa-ai%2FSentimentVisionDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cocoa-ai","download_url":"https://codeload.github.com/cocoa-ai/SentimentVisionDemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253518941,"owners_count":21921074,"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":["coreml","coreml-models","ios","machine-learning","sentiment-analysis","swift","swift4","vision"],"created_at":"2024-08-03T17:00:52.789Z","updated_at":"2025-05-11T04:30:46.531Z","avatar_url":"https://github.com/cocoa-ai.png","language":"Swift","funding_links":[],"categories":["Models"],"sub_categories":["VisualSentimentCNN"],"readme":"# Sentiment Vision Demo\n\nA Demo application using `Vision` and `CoreML` frameworks to detect the most\nlikely sentiment of the given image.\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://github.com/cocoa-ai/SentimentVisionDemo/blob/master/Screenshot.png\" alt=\"SentimentVisionDemo\" width=\"300\" height=\"416\" /\u003e\n\u003c/div\u003e\n\n## Model\n\nThis demo is based on the \"Fine-tuning CNNs for Visual Sentiment Prediction\"\nneural network classifier, which was converted from original [Caffe model](https://github.com/imatge-upc/sentiment-2017-imavis)\nto [CoreML model](https://drive.google.com/file/d/1nt_Sp85Orplcbyyc7AAyCUjEfss8Pw87/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-ml/SentimentVisionDemo.git\ncd SentimentVisionDemo\npod install\nopen SentimentVision.xcworkspace/\n```\n\nDownload the [CoreMl model](https://drive.google.com/open?id=0B1ghKa_MYL6mZ0dITW5uZlgyNTg)\nand drag the file into your project.\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\n[From Pixels to Sentiment: Fine-tuning CNNs for Visual Sentiment Prediction](https://github.com/imatge-upc/sentiment-2017-imavis)\n\n## References\n- [Caffe](http://caffe.berkeleyvision.org)\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%2FSentimentVisionDemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcocoa-ai%2FSentimentVisionDemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcocoa-ai%2FSentimentVisionDemo/lists"}