adopt machine learning › An example of the on-device machine learning › Video highlight wizard › Other examples › CardOCR and Auto pin chat › Lesson learned
Performance of machine learning model Target user experience › Required immediate responses › New feature or improvement of existing features Difficulty in training › Privacy issue › Size of training data Case by case No general solution
to build a shared library › Select only necessary shared libraries (libopencv_core, highgui, imgproc, ml, objdetect) OpenCV build from source codes Substitute FFmpeg with Android’s media library › HECATE uses FFmpeg for video frame extraction › FFmpeg has a patent issue with H.264 HECATE › Open source video processing library (https://github.com/yahoo/hecate) › Implemented with C++, dependency to OpenCV and FFmpeg
Filtering Shots Extraction Summary Highlight • Find max 1st order derivation between frames • Cluster with color and edge histogram of frames for finding sub-shots • Filter low quality and transition frames • Cluster visually similar shots • Pick most dynamic shots in each cluster • Adjust length of each shots • Pick the most representative shot A B
multiple shots › 15sec limit of ‘Timeline story’ Challenge & Opportunity Actual results › Released at Early 2020 as a Labs feature › Highlight wizard with trim range recommendation › Improve existing `trim a video` feature Initial motivation › Make a summary video with several shots Highlight trim range is suggested automatically When highlight is available
› Simplify user experience Challenge & Opportunity Actual results › Improve ‘Pin chat’ by automating ’pin/unpin a chatroom’ › Rejected Initial motivation › Sort whole chat list with various features › Contextual score using time and location, and activeness score
card’ feature › Urgent call from Taiwan Challenge & Opportunity Actual results › Improvement of credit card recognition › Released on Late 2017 Initial motivation › General card recognition including QR, barcode and numeric characters › ‘LINE My card’ feature
› Mediator between technology and user experience Check a roadmap › Keep track a goal of the related features › Intuit and target user requirements A means to an ends
experiences › Workaround of the feature › Recommendation Simple and easy approach: improvement Platform supports for machine learning › Google ML kit / Apple Core ML (pre-trained model) › Android WorkManager / iOS BGTaskScheduler (background task support)