Implementing "IMREAD" function in real time
古いコメントを表示
I am currently working on a project that has to do with the capturing of images with a camera. I want a matlab syntax that can read images from a target folder as soon as the images go into it. I would greatly appreaciate if anyone can give me a clue on this.
回答 (2 件)
Image Analyst
2021 年 2 月 11 日
0 投票
If your MATLAB program has control of the camera, call getsnapshot() followed by image() and drawnow. If not, repeatedly call dir() and look for changes, then identify the new file and call imread() and imshow() if a new image appeared in the folder. Not sure how fast it will be though. Should appear "real time" if your frame rate is low enough.
3 件のコメント
Kingsley Bowoto
2021 年 2 月 11 日
Image Analyst
2021 年 2 月 11 日
Then I guess you used the second method I mentioned, right?
Kingsley Bowoto
2021 年 2 月 12 日
Walter Roberson
2021 年 2 月 12 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で Matrox Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!