How to preview a binary webcam video in MATLAB
이전 댓글 표시
Good day everyone, my name is Afrena. I am doing my final year project about detecting 2D defect using image processing. I have created my coding. It all work just fine. But i would like to have a preview of my webcam video of the binary coding that i have made, instead of just showing the captured image as my output. Below are my coding:

I'm also quite new with MATLAB and its function. If I made a mistake please let me know. Thank you for your help
답변 (1개)
yanqi liu
2021년 11월 18일
0 개 추천
sir,may be can not use preview to get the processed image
so,use your method,and display image in one figure,use while to loop,such as
while 1
im=snapshot(cam);
process……
figure(1); imshow()
pause(1)
end
카테고리
도움말 센터 및 File Exchange에서 Image display and manipulation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

