Why webcam preview in MATLAB is like a inverted mirror?

조회 수: 2 (최근 30일)
Explorer
Explorer 2014년 2월 6일
편집: Ardine 2014년 4월 20일
When I capture image from webcam using YouCam Software, my right hand in image is on right side but when I capture image from webcam using MATLAB, my right hand in image is on left side. Why it is so?

채택된 답변

Image Analyst
Image Analyst 2014년 2월 9일
Some camera adapters have the ability to flip the image up/down and left/right. I don't know if yours does but you can look for that capability in imaqtool.
  댓글 수: 5
Image Analyst
Image Analyst 2014년 2월 10일
There may (or may not) be a checkbox or something that says something like "flip vertical", "mirror image" or something like that.
Ardine
Ardine 2014년 4월 20일
편집: Ardine 2014년 4월 20일
you should try to flip horizontaly:
vid = videoinput('winvideo', 1, 'your default resolution');
src = getselectedsource(vid);
src.HorizontalFlip = 'on';
for example I use default resolution: 'RGB24_640x480'

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by