AI EXPRESS - Hot Deal 4 VCs instabooks.co
  • AI
    Skillprint launches science-backed platform to match players with the right skill-based games

    Skillprint launches science-backed platform to match players with the right skill-based games

    Got It AI’s ELMAR challenges GPT-4 and LLaMa, scores well on hallucination benchmarks

    Got It AI’s ELMAR challenges GPT-4 and LLaMa, scores well on hallucination benchmarks

    Don't be fooled by AI washing: 3 questions to ask before you invest

    5 ways machine learning must evolve in a difficult 2023

    OpenAI's GPT-4 violates FTC rules, argues AI policy group

    OpenAI’s GPT-4 violates FTC rules, argues AI policy group

    Google advances AlloyDB, BigQuery at Data Cloud and AI Summit

    Google advances AlloyDB, BigQuery at Data Cloud and AI Summit

    Open source Kubeflow 1.7 set to 'transform' MLops

    Open source Kubeflow 1.7 set to ‘transform’ MLops

  • ML
    Snapper provides machine learning-assisted labeling for pixel-perfect image object detection

    Snapper provides machine learning-assisted labeling for pixel-perfect image object detection

    Achieve effective business outcomes with no-code machine learning using Amazon SageMaker Canvas

    Achieve effective business outcomes with no-code machine learning using Amazon SageMaker Canvas

    HAYAT HOLDING uses Amazon SageMaker to increase product quality and optimize manufacturing output, saving $300,000 annually

    HAYAT HOLDING uses Amazon SageMaker to increase product quality and optimize manufacturing output, saving $300,000 annually

    Enable predictive maintenance for line of business users with Amazon Lookout for Equipment

    Enable predictive maintenance for line of business users with Amazon Lookout for Equipment

    Build custom code libraries for your Amazon SageMaker Data Wrangler Flows using AWS Code Commit

    Build custom code libraries for your Amazon SageMaker Data Wrangler Flows using AWS Code Commit

    Access Snowflake data using OAuth-based authentication in Amazon SageMaker Data Wrangler

    Access Snowflake data using OAuth-based authentication in Amazon SageMaker Data Wrangler

    Enable fully homomorphic encryption with Amazon SageMaker endpoints for secure, real-time inferencing

    Enable fully homomorphic encryption with Amazon SageMaker endpoints for secure, real-time inferencing

    Will ChatGPT help retire me as Software Engineer anytime soon? – The Official Blog of BigML.com

    Will ChatGPT help retire me as Software Engineer anytime soon? –

    Build a machine learning model to predict student performance using Amazon SageMaker Canvas

    Build a machine learning model to predict student performance using Amazon SageMaker Canvas

  • NLP
    ChatGPT, Large Language Models and NLP – a clinical perspective

    ChatGPT, Large Language Models and NLP – a clinical perspective

    What could ChatGPT mean for Medical Affairs?

    What could ChatGPT mean for Medical Affairs?

    Want to Improve Clinical Care? Embrace Precision Medicine Through Deep Phenotyping

    Want to Improve Clinical Care? Embrace Precision Medicine Through Deep Phenotyping

    Presight AI and G42 Healthcare sign an MOU

    Presight AI and G42 Healthcare sign an MOU

    Meet Sketch: An AI code Writing Assistant For Pandas

    Meet Sketch: An AI code Writing Assistant For Pandas

    Exploring The Dark Side Of OpenAI's GPT Chatbot

    Exploring The Dark Side Of OpenAI’s GPT Chatbot

    OpenAI launches tool to catch AI-generated text

    OpenAI launches tool to catch AI-generated text

    Year end report, 1 May 2021- 30 April 2022.

    U.S. Consumer Spending Starts to Sputter; Labor Report to Give Fed Look at Whether Rate Increases Are Cooling Rapid Wage Growth

    Meet ETCIO SEA Transformative CIOs 2022 Winner Edmund Situmorang, CIOSEA News, ETCIO SEA

    Meet ETCIO SEA Transformative CIOs 2022 Winner Edmund Situmorang, CIOSEA News, ETCIO SEA

  • Vision
    Data2Vec: Self-supervised general framework

    Data2Vec: Self-supervised general framework

    NVIDIA Metropolis Ecosystem Grows With Advanced Development Tools to Accelerate Vision AI

    NVIDIA Metropolis Ecosystem Grows With Advanced Development Tools to Accelerate Vision AI

    Low Code and No Code Platforms for AI and Computer Vision

    Low Code and No Code Platforms for AI and Computer Vision

    Computer Vision Model Performance Evaluation (Guide 2023)

    Computer Vision Model Performance Evaluation (Guide 2023)

    PepsiCo Leads in AI-Powered Automation With KoiVision Platform

    PepsiCo Leads in AI-Powered Automation With KoiVision Platform

    USB3 & GigE Frame Grabbers for Machine Vision

    USB3 & GigE Frame Grabbers for Machine Vision

    Active Learning in Computer Vision - Complete 2023 Guide

    Active Learning in Computer Vision – Complete 2023 Guide

    Ensembling Neural Network Models With Tensorflow

    Ensembling Neural Network Models With Tensorflow

    Autoencoder in Computer Vision - Complete 2023 Guide

    Autoencoder in Computer Vision – Complete 2023 Guide

  • Robotics
    Watch Bill Gates take a ride in a Wayve AV

    Watch Bill Gates take a ride in a Wayve AV

    Researchers taught a quadruped to use its legs for manipulation

    Researchers taught a quadruped to use its legs for manipulation

    Times Microwave Systems launches coaxial cable for robotics

    Times Microwave Systems launches coaxial cable for robotics

    neubility robot on the sidewalk.

    Sidewalk delivery robot company Neubility secures $2.42M investment

    Gecko Robotics expands work with U.S. Navy

    Gecko Robotics expands work with U.S. Navy

    German robotics industry to grow 9% in 2023

    German robotics industry to grow 9% in 2023

    head shot of larry sweet.

    ARM Institute hires Larry Sweet as Director of Engineering

    Destaco launches end-of-arm tooling line for cobots

    Destaco launches end-of-arm tooling line for cobots

    How Amazon Astro moves smoothly through its environment

    How Amazon Astro moves smoothly through its environment

  • RPA
    What is IT Process Automation? Use Cases, Benefits, and Challenges in 2023

    What is IT Process Automation? Use Cases, Benefits, and Challenges in 2023

    Benefits of Automated Claims Processing in Insurance Industry

    Benefits of Automated Claims Processing in Insurance Industry

    ChatGPT and RPA Join Force to Create a New Tech-Revolution

    ChatGPT and RPA Join Force to Create a New Tech-Revolution

    How does RPA in Accounts Payable Enhance Data Accuracy?

    How does RPA in Accounts Payable Enhance Data Accuracy?

    10 Best Use Cases to Automate using RPA in 2023

    10 Best Use Cases to Automate using RPA in 2023

    How will RPA Improve the Employee Onboarding Process?

    How will RPA Improve the Employee Onboarding Process?

    Key 2023 Banking Automation Trends / Blogs / Perficient

    Key 2023 Banking Automation Trends / Blogs / Perficient

    AI-Driven Omnichannel is the Future of Insurance Industry

    AI-Driven Omnichannel is the Future of Insurance Industry

    Avoid Patient Queues with Automated Query Resolution

    Avoid Patient Queues with Automated Query Resolution

  • Gaming
    God of War Ragnarok had a banner debut week at UK retail

    God of War Ragnarok had a banner debut week at UK retail

    A Little To The Left Review (Switch eShop)

    A Little To The Left Review (Switch eShop)

    Horizon Call of the Mountain will release alongside PlayStation VR2 in February

    Horizon Call of the Mountain will release alongside PlayStation VR2 in February

    Sonic Frontiers has Dreamcast-era jank and pop-in galore - but I can't stop playing it

    Sonic Frontiers has Dreamcast-era jank and pop-in galore – but I can’t stop playing it

    Incredible November Xbox Game Pass addition makes all other games obsolete

    Incredible November Xbox Game Pass addition makes all other games obsolete

    Free Monster Hunter DLC For Sonic Frontiers Now Available On Switch

    Free Monster Hunter DLC For Sonic Frontiers Now Available On Switch

    Somerville review: the most beautiful game I’ve ever played

    Somerville review: the most beautiful game I’ve ever played

    Microsoft Flight Sim boss confirms more crossover content like Halo's Pelican and Top Gun Maverick

    Microsoft Flight Sim boss confirms more crossover content like Halo’s Pelican and Top Gun Maverick

    The Game Awards nominations are in, with God of War Ragnarok up for 10 of them

    The Game Awards nominations are in, with God of War Ragnarok up for 10 of them

  • Investment
    Pulse Industrial

    Pulse Industrial Raises New Funding Round

    Horizon Quantum Computing

    Horizon Quantum Computing Raises USD 18.1M in Series A Funding

    PxE Holographic Imaging Raises $5.4M in Seed Funding

    PxE Holographic Imaging Raises $5.4M in Seed Funding

    Ledger

    Ledger Closes €100M Series C Extension Round

    personal finance

    3 Reliable Ways to Generate Some Income for Investment

    trading

    Index Futures Trading Receives First Ever Crypto Market Deployment on Bitget Exchange

    BioCorteX

    BioCorteX Raises $5M in Seed Funding

    Hirebotics Receives Investment From Sverica Capital Management

    Hirebotics Receives Investment From Sverica Capital Management

    healthcare

    Florence Raises $20M in Seed Funding

  • More
    • Data analytics
    • Apps
    • No Code
    • Cloud
    • Quantum Computing
    • Security
    • AR & VR
    • Esports
    • IOT
    • Smart Home
    • Smart City
    • Crypto Currency
    • Blockchain
    • Reviews
    • Video
No Result
View All Result
AI EXPRESS - Hot Deal 4 VCs instabooks.co
No Result
View All Result
Home Machine Learning

How to decide between Amazon Rekognition image and video API for video moderation

by
February 1, 2023
in Machine Learning
0
How to decide between Amazon Rekognition image and video API for video moderation
0
SHARES
2
VIEWS
Share on FacebookShare on Twitter

Virtually 80% of at this time’s net content material is user-generated, making a deluge of content material that organizations wrestle to investigate with human-only processes. The supply of client info helps them make selections, from shopping for a brand new pair of denims to securing residence loans. In a current survey, 79% of shoppers said they depend on consumer movies, feedback, and critiques greater than ever and 78% of them mentioned that manufacturers are liable for moderating such content material. 40% mentioned that they might disengage with a model after a single publicity to poisonous content material.

Amazon Rekognition has two units of APIs that assist you reasonable photos or movies to maintain digital communities secure and engaged.

One method to reasonable movies is to mannequin video knowledge as a pattern of picture frames and use picture content material moderation fashions to course of the frames individually. This method permits the reuse of image-based fashions. Some prospects have requested if they may use this method to reasonable movies by sampling picture frames and sending them to the Amazon Rekognition picture moderation API. They’re interested by how this resolution compares with the Amazon Rekognition video moderation API.

We suggest utilizing the Amazon Rekognition video moderation API to reasonable video content material. It’s designed and optimized for video moderation, providing higher efficiency and decrease prices. Nonetheless, there are particular use instances the place the picture API resolution is perfect.

This submit compares the 2 video moderation options when it comes to accuracy, value, efficiency, and structure complexity that can assist you select the very best resolution to your use case.

Average movies utilizing the video moderation API

The Amazon Rekognition video content material moderation API is the usual resolution used to detect inappropriate or undesirable content material in movies. It performs as an asynchronous operation on video content material saved in an Amazon Easy Storage Service (Amazon S3) bucket. The evaluation outcomes are returned as an array of moderation labels together with a confidence rating and timestamp indicating when the label was detected.

The video content material moderation API makes use of the identical machine studying (ML) mannequin for picture moderation. The output is filtered for noisy false optimistic outcomes. The workflow is optimized for latency by parallelizing operations like decode, body extraction, and inference.

The next diagram reveals the logical steps of how you can use the Amazon Rekognition video moderation API to reasonable movies.

The steps are as follows:

  1. Add movies to an S3 bucket.
  2. Name the video moderation API in an AWS Lambda perform (or personalized script on premises) with the video file location as a parameter. The API manages the heavy lifting of video decoding, sampling, and inference. You possibly can both implement a heartbeat logic to verify the moderation job standing till it completes, or use Amazon Easy Notification Service (Amazon SNS) to implement an event-driven sample. For particulars in regards to the video moderation API, confer with the next Jupyter notebook for detailed examples.
  3. Retailer the moderation end result as a file in an S3 bucket or database.

Average movies utilizing the picture moderation API

As an alternative of utilizing the video content material moderation API, some prospects select to independently pattern frames from movies and detect inappropriate content material by sending the photographs to the Amazon Rekognition DetectModerationLabels API. Picture outcomes are returned in actual time with labels for inappropriate content material or offensive content material together with a confidence rating.

The next diagram reveals the logical steps of the picture API resolution.

Rekognition Content Moderation Video Image Sampling Diagram
The steps are as follows:

1. Use a personalized utility or script as an orchestrator, from loading the video to the native file system.
2. Decode the video.
3. Pattern picture frames from the video at a selected interval, corresponding to two frames per second. Then iterate by all the photographs to:

3.a. Ship every picture body to the picture moderation API.
3.b. Retailer the moderation leads to a file or database.

Evaluate this with the video API resolution, which requires a lightweight Lambda perform to orchestrate API calls. The picture sampling resolution is CPU intensive and requires extra compute assets. You possibly can host the appliance utilizing AWS providers corresponding to Lambda, Amazon Elastic Container Service (Amazon ECS), Amazon Elastic Kubernetes Service (Amazon EKS), AWS Fargate, or Amazon Elastic Compute Cloud (Amazon EC2).

Analysis dataset

To guage each options, we use a pattern dataset consisting of 200 short-form movies. The movies vary from 10 seconds to 45 minutes. 60% of the movies are lower than 2 minutes lengthy. This pattern dataset is used to check the efficiency, value, and accuracy metrics for each options. The outcomes examine the Amazon Rekognition picture API sampling resolution to the video API resolution.

See also  Regression vs. Classification in Machine Learning: What’s the Difference?

To check the picture API resolution, we use open-source libraries (ffmpeg and OpenCV) to pattern photos at a fee of two frames per second (one body each 500 milliseconds). This fee mimics the sampling frequency utilized by the video content material moderation API. Every picture is distributed to the picture content material moderation API to generate labels.

To check the video sampling resolution, we ship the movies on to the video content material moderation API to generate labels.

Outcomes abstract

We deal with the next key outcomes:

  • Accuracy – Each options provide comparable accuracy (false optimistic and false adverse percentages) utilizing the identical sampling frequency of two frames per second
  • Value – The picture API sampling resolution is costlier than the video API resolution utilizing the identical sampling frequency of two frames per second
    • The picture API sampling resolution value will be lowered by sampling fewer frames per second
  • Efficiency – On common, the video API has a 425% sooner processing time than the picture API resolution for the pattern dataset
    • The picture API resolution performs higher in conditions with a excessive body pattern interval and on movies lower than 90 seconds
  • Structure complexity – The video API resolution has a low structure complexity, whereas the picture API sampling resolution has a medium structure complexity

Accuracy

We examined each options utilizing the pattern set and the identical sampling frequency of two frames per second. The outcomes demonstrated that each options present an identical false optimistic and true optimistic ratio. This result’s anticipated as a result of underneath the hood, Amazon Rekognition makes use of the identical ML mannequin for each the video and picture moderation APIs.

To study extra about metrics for evaluating content material moderation, confer with Metrics for evaluating content material moderation in Amazon Rekognition and different content material moderation providers.

Value

The fee evaluation demonstrates that the picture API resolution is costlier than the video API resolution for those who use the identical sampling frequency of two frames per second. The picture API resolution will be less expensive for those who cut back the variety of frames sampled per second.

The 2 main elements that influence the price of a content material moderation resolution are the Amazon Rekognition API prices and compute prices. The default pricing for the video content material moderation API is $0.10 per minute and $0.001 per picture for the picture content material moderation API. A 60-second video produces 120 frames utilizing a fee of two frames per second. The video API prices $0.10 to reasonable a 60-second video, whereas the picture API prices $0.120.

The value calculation relies on the official value in Area us-east-1 on the time of scripting this submit. For extra info, confer with Amazon Rekognition pricing.

The fee evaluation appears on the complete value to generate content material moderation labels for the 200 movies within the pattern set. The calculations are primarily based on us-east-1 pricing. In case you’re utilizing one other Area, modify the parameters with the pricing for that Area. The 200 movies include 4271.39 minutes of content material and generate 512,567 picture frames at a sampling fee of two frames per second.

This comparability doesn’t contemplate different prices, corresponding to Amazon S3 storage. We use Lambda for instance to calculate the AWS compute value. Compute prices take note of the variety of requests to Lambda and AWS Step Capabilities to run the evaluation. The Lambda reminiscence/CPU setting is estimated primarily based on the Amazon EC2 specs. This value estimate makes use of a 4 GB, 2-second Lambda request per picture API name. Lambda features have a most invocation timeout restrict of quarter-hour. For longer movies, the consumer might must implement iteration logic utilizing Step Capabilities to scale back the variety of frames processed per Lambda name. The precise Lambda settings and price patterns might differ relying in your necessities. It’s really helpful to check the answer finish to finish for a extra correct value estimation.

The next desk summarizes the prices.

Sort Amazon Rekognition Prices Compute Prices Whole Value
Video API Resolution $427.14 $0
(Free tier)
$427.14
Picture API Resolution: Two frames per second $512.57 $164.23 $676.80
Picture API Resolution: One body per second $256.28 $82.12 $338.40

Efficiency

On common, the video API resolution has a 4 occasions sooner processing time than the picture API resolution. The picture API resolution performs higher in conditions with a excessive body pattern interval and on movies shorter than 90 seconds.

This evaluation measures efficiency as the typical processing time in seconds per video. It appears on the complete and common time to generate content material moderation labels for the 200 movies within the pattern set. The processing time is measured from the video add to the end result output and contains every step within the picture sampling and video API course of.

See also  Encode multi-lingual text properties in Amazon Neptune to train predictive models

The video API resolution has a mean processing time of 35.2 seconds per video for the pattern set. That is in comparison with the picture API resolution with a mean processing time of 156.24 seconds per video for the pattern set. On common, the video API performs 4 occasions sooner than the picture API resolution. The next desk summarizes these findings.

Sort Common Processing Time (All Movies) Common Processing Time (Movies Beneath 1.5 Minutes)
Video API Resolution 35.2 seconds 24.05 seconds
Picture API Resolution: Two frames per second 156.24 seconds 8.45 seconds
Distinction 425% -185%

The picture API performs higher than the video API when the video is shorter than 90 seconds. It’s because the video API has a queue managing the duties that has a lead time. The picture API can even carry out higher when you have a decrease sampling frequency. Growing the body interval to over 5 seconds can lower the processing time by 6–10 occasions. It’s vital to notice that rising intervals introduces the chance of missed identification of inappropriate content material between body samples.

Structure complexity

The video API resolution has a low structure complexity. You possibly can arrange a serverless pipeline or run a script to retrieve content material moderation outcomes. Amazon Rekognition manages the heavy computing and inference. The applying orchestrating the Amazon Rekognition APIs will be hosted on a lightweight machine.

The picture API resolution has a medium structure complexity. The applying logic has to orchestrate extra steps to retailer movies on the native drive, run picture processing to seize frames, and name the picture API. The server internet hosting the appliance requires larger computing capability to help the native picture processing. For the analysis, we launched an EC2 occasion with 4 vCPU and eight G RAM to help two parallel threads. Greater compute necessities might result in extra operation overhead.

Optimum use instances for the picture API resolution

The picture API resolution is right for 3 particular use instances when processing movies.

The primary is real-time video streaming. You possibly can seize picture frames from a stay video stream and ship the photographs to the picture moderation API.

The second use case is content material moderation with a low body sampling fee requirement. The picture API resolution is more cost effective and performant for those who pattern frames at a low frequency. It’s vital to notice that there shall be a trade-off between value and accuracy. Sampling frames at a decrease fee might enhance the chance of lacking frames with inappropriate content material.

The third use case is for the early detection of inappropriate content material in video. The picture API resolution is versatile and means that you can cease processing and flag the video early on, saving value and time.

Conclusion

The video moderation API is right for many video moderation use instances. It’s less expensive and performant than the picture API resolution once you pattern frames at a frequency corresponding to two frames per second. Moreover, it has a low architectural complexity and lowered operational overhead necessities.

The next desk summarizes our findings that can assist you maximize the usage of the Amazon Rekognition picture and video APIs to your particular video moderation use instances. Though these outcomes are averages achieved throughout testing and by a few of our prospects, they need to offer you concepts to steadiness the usage of every API.

. Video API Resolution Picture API Resolution
Accuracy Identical accuracy .
Value Decrease value utilizing the default picture sampling interval Decrease value for those who cut back the variety of frames sampled per second (sacrifice accuracy)
Efficiency Quicker for movies longer than 90 seconds Quicker for movies lower than 90 seconds
Structure Complexity Low complexity Medium complexity

Amazon Rekognition content material moderation can’t solely assist what you are promoting shield and preserve prospects secure and engaged, but additionally contribute to your ongoing efforts to maximise the return in your content material moderation funding. Study extra about Content material Moderation on AWS and our Content material Moderation ML use instances.


Concerning the authors

Author - Lana ZhangLana Zhang is a Sr. Options Architect on the AWS WWSO AI Providers crew, with experience in AI and ML for content material moderation and laptop imaginative and prescient. She is captivated with selling AWS AI providers and serving to prospects rework their enterprise options.

Author - Brigit BrownBrigit Brown is a Options Architect at Amazon Internet Providers. Brigit is captivated with serving to prospects discover revolutionary options to advanced enterprise challenges utilizing machine studying and synthetic intelligence. Her core areas of depth are pure language processing and content material moderation.

Source link

Tags: AmazonAPIDecideImagemoderationRekognitionvideo
Previous Post

Meet Sketch: An AI code Writing Assistant For Pandas

Next Post

Sepsis increases the risk of heart failure and rehospitalization

Next Post
person monitoring a dextrose

Sepsis increases the risk of heart failure and rehospitalization

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Newsletter

Popular Stories

  • Wordle on New York Times

    Today’s Wordle marks the start of a new era for the game – here’s why

    0 shares
    Share 0 Tweet 0
  • iOS 16.4 is rolling out now – here are 7 ways it’ll boost your iPhone

    0 shares
    Share 0 Tweet 0
  • Increasing your daily magnesium intake prevents dementia

    0 shares
    Share 0 Tweet 0
  • Beginner’s Guide for Streaming TV

    0 shares
    Share 0 Tweet 0
  • Twitter’s blue-check doomsday date is set and it’s no April Fool’s joke

    0 shares
    Share 0 Tweet 0

ML Jobs

View 115 ML Jobs at Tesla

View 165 ML Jobs at Nvidia

View 105 ML Jobs at Google

View 135 ML Jobs at Amamzon

View 131 ML Jobs at IBM

View 95 ML Jobs at Microsoft

View 205 ML Jobs at Meta

View 192 ML Jobs at Intel

Accounting and Finance Hub

Raised Seed, Series A, B, C Funding Round

Get a Free Insurance Quote

Try Our Accounting Service

AI EXPRESS – Hot Deal 4 VCs instabooks.co

AI EXPRESS is a news site that covers the latest developments in Artificial Intelligence, Data Analytics, ML & DL, Algorithms, RPA, NLP, Robotics, Smart Homes & Cities, Cloud & Quantum Computing, AR & VR and Blockchains

Categories

  • AI
  • Ai videos
  • Apps
  • AR & VR
  • Blockchain
  • Cloud
  • Computer Vision
  • Crypto Currency
  • Data analytics
  • Esports
  • Gaming
  • Gaming Videos
  • Investment
  • IOT
  • Iot Videos
  • Low Code No Code
  • Machine Learning
  • NLP
  • Quantum Computing
  • Robotics
  • Robotics Videos
  • RPA
  • Security
  • Smart City
  • Smart Home

Quick Links

  • Reviews
  • Deals
  • Best
  • AI Jobs
  • AI Events
  • AI Directory
  • Industries

© 2021 Aiexpress.io - All rights reserved.

  • Contact
  • Privacy Policy
  • Terms & Conditions

No Result
View All Result
  • AI
  • ML
  • NLP
  • Vision
  • Robotics
  • RPA
  • Gaming
  • Investment
  • More
    • Data analytics
    • Apps
    • No Code
    • Cloud
    • Quantum Computing
    • Security
    • AR & VR
    • Esports
    • IOT
    • Smart Home
    • Smart City
    • Crypto Currency
    • Blockchain
    • Reviews
    • Video

© 2021 Aiexpress.io - All rights reserved.