How to preview "processed​/field-cor​rected" camera feed live / efficiently?

1 Ansicht (letzte 30 Tage)
Eric Ng
Eric Ng am 29 Mär. 2024
Bearbeitet: Eric Ng am 29 Mär. 2024
Any suggestion how to preview a camera input efficiently after processing the camera data? The "preview function" currently only works witht the following. If one has to correct the camera feed before displaying, can we still use preview function? or better alternative?
says, I would like to correct video stream on the fly like the following:
stream=getsnapshot(app.CamVid); and display this "stream./[matrix of calibration]" live!
  1 Kommentar
Eric Ng
Eric Ng am 29 Mär. 2024
Bearbeitet: Eric Ng am 29 Mär. 2024
My current approach is using self-define-computePlot function, which is still slightly slower than preview function which is directly showing the video live. Any better suggestion?
hImage = imagesc(app.UIAxes, getsnapshot(app.CamVid));
set(app.CamVid, 'TimerFcn', {@SelfDefine-computePlotFunc, hImage}, 'TimerPeriod', 0.2,'FramesPerTrigger',Inf);
start(app.CamVid);

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu MATLAB Support Package for IP Cameras finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by