Video Writer for cycle detection
3 views (last 30 days)
Show older comments
Amir Azadeh Ranjbar on 12 Aug 2022
Commented: Amir Azadeh Ranjbar on 13 Aug 2022
clc;clear all;close all
v = VideoWriter('cycles1','MPEG-4');
[centers,radii] = imfindcircles(rgb2gray(frame),...
h = viscircles(centers,radii,"Color",[0.2 0.3 0.5]);
% I Wanr Write Video With Cycle that detected
Do you mean cycle detection or circle detection?
Is there an error or some problem with your sample code that you can post here?
You can use frame2im(getframe(gcf)) to get an image that has the result of imshow and viscircles together.
More Answers (0)
Find more on Motion Detection in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!