Why is there overlayed square and number on Raspberry Pi camera image taken using MATLAB? How to remove?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Thana Seelaraj Baiskaran
el 26 de En. de 2022
Comentada: Stuart Johnson
el 16 de En. de 2023
%%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.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/874745/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/874745/image.png)
0 comentarios
Respuestas (2)
Obed Rios
el 4 de Mayo de 2022
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 comentario
Stuart Johnson
el 16 de En. de 2023
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!
Ver también
Categorías
Más información sobre MATLAB Support Package for IP Cameras en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!