Post Go back to editing

Problem with small size of acquired frames


I built an environment for the ToF camera on my RaspberryPi3 without using the latest image provided by analogdevices.

I was able to confirm the operation of the ToF camera with "".

However, there was a problem that the size of the acquired frame became too small.

Latest image: frame details: width: 640 height: 960 type: depth_ir

In my case: frame details: width: 640 height: 480 type: depth_ir

How do I get the correct frame size?


  • Hi Kenta,

    Are you sure you are using the same version of the sdk on both images? Could you tell me what version are you using (maybe provide the commit hash)?

    Also, try to modify the script and print the actual size of the array right at the end of the script:


  • I have confirmed the hash commit and frame size.

    Latest image: commit bf025d86e979a851dedcabe43379bc12511e23d6

    (HEAD, tag: v1.6.0, origin/master, origin/HEAD)


    In my case: commit 1824ef5e7a7c4f19deef072965075bc7f38bb04c

    (HEAD -> master, origin/master, origin/HEAD)


    The version seems to be a little different. To change the kernel, I used the following command.

    git checkout rpi-4.19.y

    I would like to try to build the environment by specifying the hash commit value here.

    Please let me know if there is a simple solution.

  • Hi
    The problem was solved when I built the environment using the v1.6.0 SDK.
    I'm not sure what caused the problem, but I'm happy to share it with you!
    Thank you!

  • Hi

    I am glad that you found a solution suitable for you but I would suggest to try again with v2.0.0 and also print image.shape.

    Also, in v2.0.0. you should be able to print `fullDataWidth` and `fullDataHeight` please do so and let me know what are the results.

    Thank you

Reply Children