Borrar filtros
Borrar filtros

Why do I get JPEG library error

6 visualizaciones (últimos 30 días)
Brayann Alexander Perez Guizar
Brayann Alexander Perez Guizar el 9 de Jul. de 2022
Comentada: Image Analyst el 10 de Jul. de 2022
(Matlab mobile) Here is the full error message:
And the full code:
clc
clear
m=mobiledev;
m.Logging=1;
cam=camera(m,'back');
cam.Resolution='640x480';
a=1;
while a==1
img=snapshot(cam,'manual');
ent=input('Nombre de imagen: ','s');
ent2=input('Nombre de carpeta: ','s');
b='\';
s=strcat(ent2,b);
mkdir(ent2);
pause(2)
imwrite(img,[s,ent,'.jpg']);
c=strcat(s,ent,'.jpg');
img2=imread(c);
imshow(img2);
end
How can I resolve this error?

Respuestas (1)

Image Analyst
Image Analyst el 9 de Jul. de 2022
Either save it to a disk that has available disk space, or don't save the image at all.
  4 comentarios
Brayann Alexander Perez Guizar
Brayann Alexander Perez Guizar el 10 de Jul. de 2022
Sorry, It doesn't work, it gives me the same errors.
Image Analyst
Image Analyst el 10 de Jul. de 2022
I don't use the mobile version. Call tech support.

Iniciar sesión para comentar.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by