Video to frame conversion
Mostra commenti meno recenti
I am trying to convert a video file to image files using readFrame function. I was successful in extracting frames from video but each frame the halves were interchanged as shown in figure (2). Fig. 1 is a snapshot of video. Can anybody please help me with this?. My code is:
clc
clear all
close all
video_input =VideoReader('single.avi');
vid = readFrame(video_input);
imshow(vid)
FIGURE 1

FIGURE 2

2 Commenti
KSSV
il 24 Apr 2019
YOu might be checking wrong frames.....check once.
avinash ashok
il 24 Apr 2019
Modificato: avinash ashok
il 24 Apr 2019
Risposte (0)
Categorie
Scopri di più su Video Formats and Interfaces in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!