Skip to content

Clarification of performance #6

@frankcarey

Description

@frankcarey

I have this working now! (images and data streaming to the computer, not the car part) I do see some things that look wrong, but I'm not sure since it looks like they may have been coded that way for a reason.

@dps - First,I really appreciate you putting this on github. Note that I'm not complaining here, just trying to document for those evaluating like I am. If you think these are actually bugs, I can create separate tickets. If not, maybe you can clarify here.

  1. only the top left corner of the pixels are outputting. My guess is that this is to reduce the size of the image or to be able to handle different camera sizes. The effect is that only a portion of the image you see on your phone's preview shows up in the Driver app on the computer. It might make sense to use the center of the image or resize it down.

  2. The image is greyscale - This was done on purpose ( decodeYUV420SPGrayscale() ) probably to save bandwidth or to make it easier for the neural net to deal with I'm guessing.

  3. The screen doesn't stay on and when the screen turns off, the images on the computer (Driver) stop updating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions