{"id":21742,"date":"2018-06-04T16:52:46","date_gmt":"2018-06-04T16:52:46","guid":{"rendered":"http:\/\/facial_emotion_recognition_based_video_suggestion_app"},"modified":"2024-06-05T16:01:51","modified_gmt":"2024-06-05T23:01:51","slug":"facial_emotion_recognition_based_video_suggestion_app","status":"publish","type":"post","link":"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app","title":{"rendered":"Facial Emotion Recognition Based Video Suggestion App"},"content":{"rendered":"<div class=\"wp-block-cloudinary-markdown \"><p>Developers are always looking for new and creative ways to deliver content that resonates with the way users feel. Often using the latest technical innovations the market has to offer such as Artificial Intelligence (AI) and Machine Learning (ML). What better way to demonstrate innovative uses of these technology in a consumer market than capturing expressions from your users and then serving content based on that expression!<\/p>\n<h2>Facial Emotion Recognition<\/h2>\n<p>In this article we are going to build an app that suggests <a href=\"https:\/\/cloudinary.com\/video_api\">videos<\/a> to users based on their facial expressions (i.e. emotion). To do this, we will use Cloudinary\u2019s Advanced Facial Attributes Detection Add-on and the Cloudinary Video Player.<\/p>\n<h2>Set Up Cloudinary<\/h2>\n<p><a href=\"https:\/\/cloudinary.com\/\">Cloudinary<\/a> makes adding image and video optimizations to applications a breeze. Head over to the <a href=\"https:\/\/cloudinary.com\/products\/image_video_technology_platform\">Solutions Page<\/a> to learn more about the features offered.<\/p>\n<p>First, sign up for Cloudinary.  Once you have created an account, you are able to use the \u201cAdvanced Facial Attributes Detection\u201d add-on.<\/p>\n<p>You can add the \u201cAdvanced Facial Attributes Detection\u201d to your Cloudinary account <a href=\"https:\/\/cloudinary.com\/users\/login?RelayState=%2Fconsole%2Flui%2Faddons\">here<\/a> and follow the on-screen instructions.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudinary-res.cloudinary.com\/image\/upload\/w_700,c_fill,f_auto,q_auto\/s_CC78332EBC9B90BB3B954E4D7366A3F8AA62CBE95C01E16C960881ADC9D1AE11_1518613698068_Screenshot_from_2018-02-14_09-53-33.png\" alt=\"Advanced Facial Attributes Detection Add-on\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"700\" height=\"311\"\/><\/p>\n<p>Make sure to note your <code>API_KEY<\/code> , <code>API_SECRET<\/code> and <code>CLOUD_NAME<\/code> from your <a href=\"https:\/\/cloudinary.com\/users\/login?RelayState=%2Fconsole%2F\">developer console<\/a>.  This information is needed when integrating with your application.<\/p>\n<h2>Upload Images and Retrieve Facial Emotion Recognition from Images<\/h2>\n<p>Using Cloudinary to obtain the emotion from a facial image requires the <code>Advanced Facial Attributes Detection Add-on<\/code> when uploading the image. We add the <code>adv_face<\/code> as a tag to let Cloudinary know we are going to use the <code>Advanced Facial Attributes Detection<\/code> add-on to register the emotions from the detected users face.<\/p>\n<p>When the image is successfully uploaded, emotions detected from the face and their confidence values are returned as part of the result. The emotion with the highest confidence is then selected.<\/p>\n<p>JavaScript Sample:<\/p>\n<pre class=\"js-syntax-highlighted\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript shcb-wrap-lines\">cloudinary.uploader.upload( req.body.image , <span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span>(<span class=\"hljs-params\">result<\/span>) <\/span>{\n  <span class=\"hljs-keyword\">const<\/span> emotions = result.info.detection.adv_face.data&#91;<span class=\"hljs-number\">0<\/span>].attributes.emotion;\n  <span class=\"hljs-keyword\">let<\/span> arr = <span class=\"hljs-built_in\">JSON<\/span>.parse(<span class=\"hljs-built_in\">JSON<\/span>.stringify(emotions));\n  <span class=\"hljs-keyword\">let<\/span> visible_emotion = getMaxKey(arr); <span class=\"hljs-comment\">\/\/ this function gets the emotion with the highest confidence<\/span>\n  <span class=\"hljs-keyword\">return<\/span> res.json({\n    <span class=\"hljs-attr\">status<\/span>: <span class=\"hljs-literal\">true<\/span>,\n    <span class=\"hljs-attr\">emotion<\/span>: visible_emotion\n  })\n},{ <span class=\"hljs-attr\">detection<\/span>: <span class=\"hljs-string\">\"adv_face\"<\/span> });\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n<p>You can then return the detected <code>emotion<\/code> to the frontend of your application.<\/p>\n<h2>Creating Video Playlists Based on emotion<\/h2>\n<p>Once the emotion is obtained on the front end, we want to display a set of videos to the user that correspond to the selected emotion. The <a href=\"https:\/\/demo.cloudinary.com\/video\/player.html\">Cloudinary Video Player<\/a> makes creating playlists simple. You can create a video player and then populate it with videos from your media library that are tagged with the <em>highest confidence<\/em> <code>emotion<\/code>, such as \u2018happiness\u2019.<\/p>\n<p>JavaScript Sample:<\/p>\n<pre class=\"js-syntax-highlighted\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript shcb-wrap-lines\"><span class=\"hljs-keyword\">let<\/span> emotion = <span class=\"hljs-string\">\"happiness\"<\/span>;\n<span class=\"hljs-keyword\">let<\/span> cld = cloudinary.Cloudinary.new({ <span class=\"hljs-attr\">cloud_name<\/span>: CLOUD_NAME, <span class=\"hljs-attr\">secure<\/span>: <span class=\"hljs-literal\">true<\/span>});b\n<span class=\"hljs-comment\">\/\/ initialize video player<\/span>\n<span class=\"hljs-keyword\">let<\/span> demoplayer = cld.videoPlayer(<span class=\"hljs-string\">'elementID'<\/span>);\n<span class=\"hljs-comment\">\/\/  create playlist based on emotion<\/span>\ndemoplayer.playlistByTag( emotion, { <span class=\"hljs-attr\">sourceParams<\/span>: {<span class=\"hljs-attr\">angle<\/span>:<span class=\"hljs-number\">0<\/span>}, <span class=\"hljs-attr\">autoAdvance<\/span>: <span class=\"hljs-number\">0<\/span>, <span class=\"hljs-attr\">repeat<\/span>: <span class=\"hljs-literal\">true<\/span>, <span class=\"hljs-attr\">presentUpcoming<\/span>: <span class=\"hljs-number\">5<\/span>});\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n<p>Putting it all together, we have the sample of how it all works below:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cloudinary-res.cloudinary.com\/image\/upload\/w_700,c_fill,f_auto,q_auto\/s_CC78332EBC9B90BB3B954E4D7366A3F8AA62CBE95C01E16C960881ADC9D1AE11_1518604743094_Screenshot_from_2018-02-14_10-38-30.png\" alt=\"Video Suggestion at Work\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"700\" height=\"278\"\/><\/p>\n<h2>Conclusion<\/h2>\n<p>In this post, we have shown how to use the facial emotion recognition add-on from Cloudinary to create an application that enables us to serve videos to our users based on how they are feeling at the moment. We also leveraged the Cloudinary Video Player to serve the videos in a playlist format. You can learn more about using the <a href=\"https:\/\/cloudinary.com\/documentation\/cloudinary_video_player#creating_a_playlist\">video player<\/a> and feel free to check out the <a href=\"https:\/\/github.com\/christiannwamba\/smart-video-suggestion\">github repository<\/a> for the full source code. If you are up for the challenge, clone and submit your own Video Suggestion App below!<\/p>\n<hr \/>\n<h2>Further Reading on Video Manipulation<\/h2>\n<ul>\n<li>\n<a href=\"https:\/\/cloudinary.com\/video_api\">Video Transcoding\nand Manipulation<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/top_10_mistakes_in_handling_website_videos_and_how_to_solve_them\">Top 10 Mistakes in Handling Website Videos and How to Solve Them<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/how_to_automate_compression_of_video_files_with_one_line_of_code\">How to Compress Video Size Automatically With One Line of Code<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/exoplayer_android_tutorial_easy_video_delivery_and_editing\">ExoPlayer Android Tutorial: Easy Video Delivery and Editing<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/html5_video_player\">Ultimate HTML5 Video Player Showdown: 10 Players Compared<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/how_to_generate_waveform_images_from_audio_files\">How to Generate Waveform Images From Audio Files<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/with_automatic_video_subtitles_silence_speaks_volumes\">Auto Generate Subtitles Based on Video Transcript<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/auto_generate_video_previews_with_great_results_every_time\">Auto-Generate Video Previews with Great Results Every Time<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/html5_video_tags_won_t_do_for_your_videos\">Adaptive HLS Streaming Using the HTML5 Video Tag<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/optimizing_video_with_cloudinary_and_the_html5_video_player_part_1\">Video Optimization With the HTML5 &lt;\\video&gt; Player<\/a>\n<\/li>\n<li>\n<a href=\"https:\/\/cloudinary.com\/blog\/converting_android_videos_to_animated_gif_images_with_cloudinary_a_tutorial\">Converting Android Videos to Animated GIF Images With Cloudinary: A Tutorial<\/a>\n<\/li>\n<\/ul>\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":41,"featured_media":21743,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_cloudinary_featured_overwrite":false,"footnotes":""},"categories":[1],"tags":[336,25,113,177,303,305,310,304],"class_list":["post-21742","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-ai","tag-asset-management","tag-face-detection","tag-javascript","tag-video","tag-video-api","tag-video-player","tag-video-transformation"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.6 (Yoast SEO v26.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Build a Facial Emotion Recognition Based Video Suggestion App<\/title>\n<meta name=\"description\" content=\"How to use the facial emotion recognition features with Cloudinary to create an app that suggests videos to users based on their facial expressions\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Facial Emotion Recognition Based Video Suggestion App\" \/>\n<meta property=\"og:description\" content=\"How to use the facial emotion recognition features with Cloudinary to create an app that suggests videos to users based on their facial expressions\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app\" \/>\n<meta property=\"og:site_name\" content=\"Cloudinary Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-04T16:52:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-05T23:01:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/v1649721925\/Web_Assets\/blog\/Mood_Video_Suggestion_App_2000x1100_v1\/Mood_Video_Suggestion_App_2000x1100_v1-jpg?_i=AA\" \/>\n\t<meta property=\"og:image:width\" content=\"1540\" \/>\n\t<meta property=\"og:image:height\" content=\"847\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"NewsArticle\",\"@id\":\"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app#article\",\"isPartOf\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"Facial Emotion Recognition Based Video Suggestion App\",\"datePublished\":\"2018-06-04T16:52:46+00:00\",\"dateModified\":\"2024-06-05T23:01:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app\"},\"wordCount\":7,\"publisher\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app#primaryimage\"},\"thumbnailUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721925\/Web_Assets\/blog\/Mood_Video_Suggestion_App_2000x1100_v1\/Mood_Video_Suggestion_App_2000x1100_v1.jpg?_i=AA\",\"keywords\":[\"AI\",\"Asset Management\",\"Face Detection\",\"Javascript\",\"Video\",\"Video API\",\"Video Player\",\"Video Transformation\"],\"inLanguage\":\"en-US\",\"copyrightYear\":\"2018\",\"copyrightHolder\":{\"@id\":\"https:\/\/cloudinary.com\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app\",\"url\":\"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app\",\"name\":\"Build a Facial Emotion Recognition Based Video Suggestion App\",\"isPartOf\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app#primaryimage\"},\"thumbnailUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721925\/Web_Assets\/blog\/Mood_Video_Suggestion_App_2000x1100_v1\/Mood_Video_Suggestion_App_2000x1100_v1.jpg?_i=AA\",\"datePublished\":\"2018-06-04T16:52:46+00:00\",\"dateModified\":\"2024-06-05T23:01:51+00:00\",\"description\":\"How to use the facial emotion recognition features with Cloudinary to create an app that suggests videos to users based on their facial expressions\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app#primaryimage\",\"url\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721925\/Web_Assets\/blog\/Mood_Video_Suggestion_App_2000x1100_v1\/Mood_Video_Suggestion_App_2000x1100_v1.jpg?_i=AA\",\"contentUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721925\/Web_Assets\/blog\/Mood_Video_Suggestion_App_2000x1100_v1\/Mood_Video_Suggestion_App_2000x1100_v1.jpg?_i=AA\",\"width\":1540,\"height\":847},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudinary.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Facial Emotion Recognition Based Video Suggestion App\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#website\",\"url\":\"https:\/\/cloudinary.com\/blog\/\",\"name\":\"Cloudinary Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudinary.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\",\"name\":\"Cloudinary Blog\",\"url\":\"https:\/\/cloudinary.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA\",\"contentUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA\",\"width\":312,\"height\":60,\"caption\":\"Cloudinary Blog\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Build a Facial Emotion Recognition Based Video Suggestion App","description":"How to use the facial emotion recognition features with Cloudinary to create an app that suggests videos to users based on their facial expressions","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app","og_locale":"en_US","og_type":"article","og_title":"Facial Emotion Recognition Based Video Suggestion App","og_description":"How to use the facial emotion recognition features with Cloudinary to create an app that suggests videos to users based on their facial expressions","og_url":"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app","og_site_name":"Cloudinary Blog","article_published_time":"2018-06-04T16:52:46+00:00","article_modified_time":"2024-06-05T23:01:51+00:00","og_image":[{"width":1540,"height":847,"url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/v1649721925\/Web_Assets\/blog\/Mood_Video_Suggestion_App_2000x1100_v1\/Mood_Video_Suggestion_App_2000x1100_v1-jpg?_i=AA","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app#article","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app"},"author":{"name":"","@id":""},"headline":"Facial Emotion Recognition Based Video Suggestion App","datePublished":"2018-06-04T16:52:46+00:00","dateModified":"2024-06-05T23:01:51+00:00","mainEntityOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app"},"wordCount":7,"publisher":{"@id":"https:\/\/cloudinary.com\/blog\/#organization"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721925\/Web_Assets\/blog\/Mood_Video_Suggestion_App_2000x1100_v1\/Mood_Video_Suggestion_App_2000x1100_v1.jpg?_i=AA","keywords":["AI","Asset Management","Face Detection","Javascript","Video","Video API","Video Player","Video Transformation"],"inLanguage":"en-US","copyrightYear":"2018","copyrightHolder":{"@id":"https:\/\/cloudinary.com\/#organization"}},{"@type":"WebPage","@id":"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app","url":"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app","name":"Build a Facial Emotion Recognition Based Video Suggestion App","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app#primaryimage"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721925\/Web_Assets\/blog\/Mood_Video_Suggestion_App_2000x1100_v1\/Mood_Video_Suggestion_App_2000x1100_v1.jpg?_i=AA","datePublished":"2018-06-04T16:52:46+00:00","dateModified":"2024-06-05T23:01:51+00:00","description":"How to use the facial emotion recognition features with Cloudinary to create an app that suggests videos to users based on their facial expressions","breadcrumb":{"@id":"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app#primaryimage","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721925\/Web_Assets\/blog\/Mood_Video_Suggestion_App_2000x1100_v1\/Mood_Video_Suggestion_App_2000x1100_v1.jpg?_i=AA","contentUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721925\/Web_Assets\/blog\/Mood_Video_Suggestion_App_2000x1100_v1\/Mood_Video_Suggestion_App_2000x1100_v1.jpg?_i=AA","width":1540,"height":847},{"@type":"BreadcrumbList","@id":"https:\/\/cloudinary.com\/blog\/facial_emotion_recognition_based_video_suggestion_app#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudinary.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Facial Emotion Recognition Based Video Suggestion App"}]},{"@type":"WebSite","@id":"https:\/\/cloudinary.com\/blog\/#website","url":"https:\/\/cloudinary.com\/blog\/","name":"Cloudinary Blog","description":"","publisher":{"@id":"https:\/\/cloudinary.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudinary.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cloudinary.com\/blog\/#organization","name":"Cloudinary Blog","url":"https:\/\/cloudinary.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA","contentUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA","width":312,"height":60,"caption":"Cloudinary Blog"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":""}]}},"jetpack_featured_media_url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721925\/Web_Assets\/blog\/Mood_Video_Suggestion_App_2000x1100_v1\/Mood_Video_Suggestion_App_2000x1100_v1.jpg?_i=AA","_links":{"self":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/21742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/comments?post=21742"}],"version-history":[{"count":3,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/21742\/revisions"}],"predecessor-version":[{"id":34424,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/21742\/revisions\/34424"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media\/21743"}],"wp:attachment":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media?parent=21742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/categories?post=21742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/tags?post=21742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}