Skip to content

Add support for binning (mode 2) of imx676 driver#46

Open
whusterj wants to merge 1 commit intotoradex:bookwormfrom
thinknimble:add-imx676-binning-support
Open

Add support for binning (mode 2) of imx676 driver#46
whusterj wants to merge 1 commit intotoradex:bookwormfrom
thinknimble:add-imx676-binning-support

Conversation

@whusterj
Copy link
Copy Markdown

Initial forum post: https://community.toradex.com/t/the-toradex-imx676-crops-active-sensor-area/27975/2

The default 4K mode of the IMX676 driver crops the top and bottom of the sensor, due to a resolution limitation of the IMX8M ISP. This limitation is documented in the FRAMOS driver release notes here.

Our application requires use of the entire square sensor area, so we want to make use of the binning mode (mode 2 of the driver). This give us the entire image captured by the sensor at a 3MP resolution (which is fine for our case).

This PR adds a new patch to the isp-imx example, which adds an imx676_binned mode to the list of available options.

This mode can be used in docker-compose.yaml file like so:

  isp-imx:
    image: [your_dockerhub_user]/torizon7-isp-imx
    container_name: isp-imx
    working_dir: /build-isp-imx/opt/imx8-isp/bin/
    command: ["./run.sh", "-c", "imx676_binned", "-lm"]
#   etc...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant