Skip to content

Feature Proposal - Capability to accept Raspberry Pi images in alternative image formats  #97

@cryptoclidus

Description

@cryptoclidus

While trying to figure out the best way to get data from the raspberry pi, one concern is that the jpg format of images is negatively affecting the data. I'd like to explore this topic, but with feedback because if I go ahead with it, I want to make sure it integrates nicely with existing applications (e.g. infragram, spectral workbench capture utility)

Problem Description

The Pi Cam Web Interface (which currently comes with pi-builder) image format is limited to jpeg only (although picamera library can output many formats including png and rgb arrays). Since jpg is a lossy format, is it acceptable? Do we need to have a way to access non-lossy data?

If png or rgb array data is desired, what is the best solution? Will a new program be required for the raspberry pi and if so, how will it integrate smoothly with existing applications?

Possible Approach

[] Directly compare results from jpg and png to see if the difference makes it worth it
[] If lossless data is desired, consider rgb arrays for speed optimization, and brainstorm how that might integrate with other applications

Preliminary Notes

Current capability

Using the picamera library, I was able to capture images and send them over a socket connection to my pc (using python on both ends). This capability can be used for preliminary testing.

@jywarren @sidntrivedi012

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions