Snapshot youtube and find out who the celebrity is.
Snap and ClarifAI Extension
Implement AI to your web browser.
Take screenshot from video and find out celebrity names.
1. When watching Youtube, tab the extension and it will take a screenshot of the clip.
2. Hit 'Predict' and image will parsed to Clarifai. And return celebrity name.
3. Click celebrity name to learn more (from YouTube).
https://github.com/nicoodakp/snap-and-clarifai
(Please go to clarifai.com to register for your API key.)
8/6/2019 UPDATES: Some minor changes
2/23/2020 Just realized API changed from Clarifai...it leads to app not properly functioning in the past few weeks....I pushed an update and now it should be working.
Read more
Take screenshot from video and find out celebrity names.
1. When watching Youtube, tab the extension and it will take a screenshot of the clip.
2. Hit 'Predict' and image will parsed to Clarifai. And return celebrity name.
3. Click celebrity name to learn more (from YouTube).
https://github.com/nicoodakp/snap-and-clarifai
(Please go to clarifai.com to register for your API key.)
8/6/2019 UPDATES: Some minor changes
2/23/2020 Just realized API changed from Clarifai...it leads to app not properly functioning in the past few weeks....I pushed an update and now it should be working.
Source Manifest.json
{ "background": { "scripts": [ "bg.js" ] }, "browser_action": { "default_icon": "128.png", "default_popup": "popup.html" }, "commands": { "_execute_browser_action": { "suggested_key": { "chromeos": "Ctrl+Shift+A", "linux": "Ctrl+Shift+A", "mac": "Command+Shift+A", "windows": "Ctrl+Space" } }, "_execute_page_action": { "suggested_key": { "default": "Ctrl+Shift+E", "mac": "Alt+Shift+P", "windows": "Alt+Shift+P" } }, "hotkey for extension": { "description": "hotkey for extension", "global": true, "suggested_key": { "default": "Ctrl+Space", "mac": "Command+Shift+A" } } }, "content_scripts": [ { "css": [ "youtube-button.css" ], "js": [ "jq331.js", "draggable.js", "content.js", "keepopen.js" ], "matches": [ "http://*/*", "https://*/*" ], "run_at": "document_start" } ], "content_security_policy": "script-src 'self' https://sdk.clarifai.com/js/clarifai-latest.js https://code.jquery.com/jquery-3.3.1.min.js https://www.google.com/; object-src 'self'", "description": "Snapshot youtube and find out who the celebrity is.", "externally_connectable": { "matches": [ "*://*.youtube.com/*" ] }, "icons": { "128": "128.png", "16": "16.png", "48": "48.png" }, "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlrDeN15h+DTTi2ozNbdGrBemp61sLAIyg+kKMgSBWg+y+gKUbCZAo5f3LdeeGczKgcZcD4mubuqtWju1SnBbTVeVoYXLyVde/UrM/+sIZ6MuwMzewJQjcQMZ625zY9w0BFiIDN4m3erjatdEVzlHslQzouSxzj4ow1zAvCSXM193SQ3iNM52GiKpZgIQZKh3G159v8aNkJYKhMRe9g30BUgNwFrhJqm6WimqzWxrIuv13exqwCx9C0XYa0H6gziEVZmCQrcPMKf73N4xUFL7DKueDfqjGtD7rNMYMJX7ya7aXUcSHa43CgKW6KqSvFxQgGQC2JjSZNXcT6PmF41iHQIDAQAB", "manifest_version": 2, "name": "Snap and ClarifAI", "permissions": [ "activeTab", "tabs", "storage", "webNavigation", "notifications", "downloads", "https://youtube.com/*"], "update_url": "https://clients2.google.com/service/update2/crx", "version": "0.2.0", "web_accessible_resources": [ "capture.js", "popup.css", "youtube-button.css" ]}
Read more