Go to advanced search

by mirotomi
Fri Aug 12, 2016 9:55 am
Forum: Python
Topic: JPEG module
Replies: 1
Views: 454

JPEG module

In Python 2 there is a (deprecated) module for IRIX, called jpeg. I would like to use a module like that (its syntax reminds me of zlib module) in Python (preferably 3.x) on Raspbian. I mean, I would like to choose the level of compression (that is, the quality) with one command ( like jpeg.compress...
by mirotomi
Fri Aug 12, 2016 5:38 am
Forum: Other programming languages
Topic: MATLAB and Simulink
Replies: 1
Views: 1290

Re: MATLAB and Simulink

Nice video. Do you maybe know if it is possible to capture and compress the image, by using m-code (that is, not from Command Window, at least not a compression part)? For example, if you put m-code into MATLAB Function block in the Simulink and deploy the model to RPi, would it capture, compress an...
by mirotomi
Thu Aug 11, 2016 8:27 pm
Forum: Python
Topic: Picamera_Visualization
Replies: 2
Views: 563

Re: Picamera_Visualization

Thank you for reply. Yes, I tried that. Sorry, I meant to say that I am not familiar with .data format, not yuv. When I capture an image to numpy array I can visualize it with matplotlib but when I capture it to, let's say, 'image.data' file I can't visualize it with it or Gimp. So I would like to k...
by mirotomi
Thu Aug 11, 2016 11:01 am
Forum: Python
Topic: Picamera_Visualization
Replies: 2
Views: 563

Picamera_Visualization

Hello, I was testing some recipes in the documentation but I could not succeed at viewing the picture captured to the file '. data', like in this recipe: import time, picamera with picamera.PiCamera() as camera: camera.resolution = (100, 100) camera.start_preview() time.sleep(2) camera.capture('imag...

Go to advanced search