MathWorks - Mobile View
  • MathWorks 계정에 로그인합니다.MathWorks 계정에 로그인합니다.
  • Access your MathWorks Account
    • 내 계정
    • 나의 커뮤니티 프로필
    • 라이선스를 계정에 연결
    • 로그아웃
  • 제품
  • 솔루션
  • 아카데미아
  • 지원
  • 커뮤니티
  • 이벤트
  • MATLAB 다운로드
MathWorks
  • 제품
  • 솔루션
  • 아카데미아
  • 지원
  • 커뮤니티
  • 이벤트
  • MATLAB 다운로드
  • MathWorks 계정에 로그인합니다.MathWorks 계정에 로그인합니다.
  • Access your MathWorks Account
    • 내 계정
    • 나의 커뮤니티 프로필
    • 라이선스를 계정에 연결
    • 로그아웃

비디오 및 웨비나

  • MathWorks
  • 비디오
  • 비디오 홈
  • 검색
  • 비디오 홈
  • 검색
  • 영업 상담
  • 평가판 신청
  Register to watch video
  • Description
  • Full Transcript
  • Code and Resources

Video Processing in MATLAB

Ramnarayan Krishnamurthy, MathWorks

Video processing is essential to areas such as deep learning, motion estimation, and autonomous driving. Learn how MATLAB® can simplify working with videos. This introduction to video processing in MATLAB will walk through the essential elements of the video processing workflow. Learn how to read, write, process, and display videos in MATLAB. These steps can be accomplished in a few lines of code and enable interacting with HD videos at high-frame rates.

MATLAB provides algorithms and tools to process, analyze and interact with your videos.

Some applications of Video Processing are:

  • Deep Learning, which lets you train networks to classify and recognize objects in videos.
  • Motion Estimation methods like Optical Flow, which can be used to track cars across multiple frames.
  • Detection and Tracking algorithms, which can detect objects like faces and track their location as they move through a video.

Let’s discuss how to read, write and view video in MATLAB.

  • VideoReader lets you import videos into MATLAB. This function supports formats such as AVI, MPEG as well as platform specific formats for Windows, MAC and Linux.
  • Often, we may want to import live video streams. Image Acquisition Toolbox provides a common interface through MATLAB code or an app to interact with a wide range of industrial and scientific cameras.
  • There are a variety of ways to display videos in MATLAB.
    • You can use the DeployableVideoPlayer which supports HD videos at high frame rates.
    • Alternatively, the Video Viewer App lets you display the entire video, jump to a specific frame and alter the frame rate of the video.
  • To write video data from MATLAB, we can use Video Writer which supports many codecs across Windows, MAC and Linux.

Now, let’s combine these elements to detect a face in a video:

  • First, let’s read a video into MATLAB using VideoReader, and then read each frame of the video in a loop.
  • Next, let’s process each video frame to detect a face and display a box around it.
  • We can store our results as a video using VideoWriter. The function writeVideo adds each processed frame to the video file.
  • Finally, we can verify the final video using the Video Viewer app.

In this video, we discussed how MATLAB can be used to develop Video Processing solutions. To learn more about Video Processing in MATLAB and to experiment with code, try out the examples in the link below.

Download Code and Files

Download the code in this video

Related Products

  • MATLAB
  • Computer Vision Toolbox
  • Image Acquisition Toolbox
  • Image Processing Toolbox

Learn More

Learn more

DOWNLOAD DEMO FILES

Get the example files used in this video

Feedback

Featured Product

MATLAB

  • Request Trial
  • Get Pricing

Up Next:

4:37
Processing an Excel File in MATLAB

Related Videos:

26:10
Modeling and Simulation of Signal Processing Applications...
25:38
What’s New in MATLAB and Simulink for Signal Processing
36:46
MATLAB and C/C++: The Perfect Combination for Signal...
3:22
Signal Processing Design Using MATLAB and C/C++

View more related videos

MathWorks - Domain Selector

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

Select web site

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • 영업 상담
  • 평가판 신청

제품 소개

  • MATLAB
  • Simulink
  • 학생용 소프트웨어
  • 하드웨어 지원
  • File Exchange

다운로드 및 구매

  • 다운로드
  • 평가판 신청
  • 영업 상담
  • 가격 및 라이선스
  • MathWorks 스토어

사용 방법

  • 문서
  • 튜토리얼
  • 예제
  • 비디오 및 웨비나
  • 교육

지원

  • 설치 도움말
  • 사용자 커뮤니티
  • 컨설팅
  • 라이선스 센터
  • 지원 문의

회사 정보

  • 채용
  • 뉴스 룸
  • 사회적 미션
  • 영업 상담
  • 회사 정보

MathWorks

Accelerating the pace of engineering and science

MathWorks는 엔지니어와 과학자들을 위한 테크니컬 컴퓨팅 소프트웨어 분야의 선도적인 개발업체입니다.

활용 분야 …

  • Select a Web Site United States
  • 특허
  • 등록 상표
  • 정보 취급 방침
  • 불법 복제 방지
  • 매스웍스코리아 유한회사
  • 주소: 서울시 강남구 삼성동 테헤란로 521 파르나스타워 14층
  • 전화번호: 02-6006-5100
  • 대표자 : 이종민
  • 사업자 등록번호 : 120-86-60062

© 1994-2021 The MathWorks, Inc.

  • Naver
  • Facebook
  • Twitter
  • YouTube
  • LinkedIn
  • RSS

대화에 참여하기