Evaluate Background Blur Functionality of Amazon Chime SDK for JavaScript

Introduction

About Evaluation

Evalution Items

  • Processing time
  • FPS/Interval
  • CPU usage

Environment

  • ASUS UX390U (Win10, Core i5 7200U(Kaby Lake) 2.5GHz/2core, RAM 8G)
    A notebook PC with a CPU that is about five years old, and is classified as a low-spec PC.(ref)
    -> Below, I call this environment as ASUS.
  • M1 MBA (M1-chip 8core, 16GB)
    This is last year’s MacBook Air with the M1 chip. Pretty fast PC.(ref)
    -> Below, I call this environment as MBA.

How to evaluate

  • Processing time
    Due to the configuration of the SDK, it is difficult to measure the raw processing time. This time, in the Video Processing API pipeline also used for background blur, we added a filter to obtain timestamps before and after the background blur process, and calculated the difference in time to simulate the measurement. Although there is an overhead in passing frames in the pipeline, we can confirm that the process was done in less than the measured time. The image of the measurement program is as follows.
  • FPS/Interval
    This is also measured in the same way, by adding a filter in the pipeline that records the timestamp of each cycle. The image of the measurement program is as follows.
  • CPU usage
    For ASUS, visually check the Windows System Monitor; for MBA, visually check the Activity Monitor. Neither is an exact measurement, but it will give you a general idea.

Result

ASUS

MBA

Summary and Discussion

A little more detail (This is just a guess.)

Finally

I am very thirsty!!

--

--

--

Software researcher and engineer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

NgIndia 2019

Why we chose Expo to build the future of photo sharing

React Native custom alert

JavaScript’s Quirky AND/OR operators. Do you know?

JS Features of Comparisons

Using Async Await in Express with Node 14

Do not trust your JavaScript!

[Appscript] Google Sheet: Insert timestamp column when a new row is created/edited (and send…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
dannadori

dannadori

Software researcher and engineer

More from Medium

Kharagpur Winter of Code (KWOC) Project Report

Project Lamora

Project Lamora

Deep Linking in Meteor JS— A Step by Step Guide with Examples

Deep Linking in Meteor JS- A Step-by-Step Guide with Examples

Yarn, npm, or pnpm?