- When watching video or YouTube, tab the app and it will take video snapshot from the video frame .
- hit "Predict" and the image will parse to the Claifai API. And return celebrity names.
- Backend javascript do the part of snapshot, where popup.js do the image parsing, analysis and return result.
- (fixed) I am still working on the 'onclick' event in popup.js 100:103, the links wont render accordingly. For now the remedy is catDiv.innerHTML from popup.js 86 where I insert a tag 'target = blank' to the src.
- Working on chrome:// address error, background error when open tab in chrome://url
Reference:
Clarifai cloud engine
clarifai-javascript-starter
Yulon
p.s: I should clari'fai' I hava not tested on any chrome/mac/linux os yet. my enviroment is windows 10, and I am using jquery 3.3.1.