필터 지우기
필터 지우기

Why is there overlayed square and number on Raspberry Pi camera image taken using MATLAB? How to remove?

조회 수: 1 (최근 30일)
%%UPDATE: Using wcam instead of cameraboard solved my issue for now. But I would still like to know how to solve issue with cameraboard()
I took a photo using my RaspberryPi camera through Matlab and the image I get has a square and number 0 on it. What causes this and how to remove it? I've attached the image and the
mypi=raspi('raspberrypi');
mycam = cameraboard(mypi)
img = snapshot(mycam);
imagesc(img);
drawnow
code used.

답변 (2개)

yanqi liu
yanqi liu 2022년 1월 27일
편집: yanqi liu 2022년 1월 27일
mypi=raspi('raspberrypi');
mycam = cameraboard(mypi)
mycam.ROI = [0.50 0.50 0.33 0.33]
img = snapshot(mycam);
imagesc(img); axis off;
drawnow

Obed Rios
Obed Rios 2022년 5월 4일
It appears I have that strange rectangle when using my camera board with Matlab after using raspistill with ROI. After rebooting my Rpi, the rectangle was gone. Best regards
  댓글 수: 1
Stuart Johnson
Stuart Johnson 2023년 1월 16일
I could have sworn this did not work the first couple of times I tried it. But, now the mystery box is gone. Sure seems something is trying to turn on some object detection / annotation pipeline!

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

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for IP Cameras에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by