ArduCAM / Arducam_tof_camera

46 stars 18 forks source link

IMX316 ToF Camera testing #32

Open Undertaker7533967 opened 1 year ago

Undertaker7533967 commented 1 year ago

Hi~ we have tested Arducam IMX316 ToF camera module on Raspberry Pi 4 which are confused on:

1.There are a big different distance results with three ROI on same object(smooth plane) as attached pictures:

1st ROI of left hand side , the distance is around 0.8 第一點0 8

2nd of in the center , the distance is around 3.32 第二點3 32

3rd of Right hand side, the distance is around nan 第三點nan

2.Are any Python API like C++ API and C API ?? when does it created or released ??

3.Are any Python example include (capture_raw.py) and (preview_depth.py) with more detail SDK commend and parameters explanation ??

all the best~~

dennis-ard commented 1 year ago

Hi~

  1. After our testing, we fixed the bug in this python example, thank you for your issue. it was fixed in this PR. #34
  2. The document will be updated in the near future. The python api can refer to the use of the c api. They are consistent. Best regard
Undertaker7533967 commented 1 year ago

Hallo~~Dennis:

  1. we have got the upgrade python example and after testing it, the distance shown looks more accuracy than before.
  2. We take reference C++API: for example int setExposure (int value) to cam.setExposure(100), we found there is no Python object setExposure , so we don't know how to define Python API from C++ or C. as below picture: DEAC654F-66BF-4D79-B3F3-CCC1503A89E8

Could you please provide us all Python like cam.setControl

All the best~~