app_face_detection_recognize發生韌體問題(KL520)

PS C:\app_face_detection_recognize> python.exe .\cam_fdfr.py

[Check Device]

[Connect Device]

Error: 'Error raised in function: connect_devices. Error code: 24. Description: ApiReturnCode.KP_ERROR_INVALID_FIRMWARE_24'

Exception ignored in: <function DeviceGroup.__del__ at 0x0000028EE3940940>

Traceback (most recent call last):

 File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\kp\KPValue.py", line 294, in __del__

  status = wrapper_utils.disconnect_devices_by_address(self._element_buffer._address)

 File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\kp\KPWrapperUtils.py", line 18, in disconnect_devices_by_address

  return KPWrapperUtils.__KP_WRAPPER.LIB.kp_disconnect_devices(device_group_address)

OSError: exception: access violation reading 0x0000000000000004

---------------------------------------------------------

有沒有人知道有何解決方案呢?

Comments

  • 您好,

    可以請您確認一下這些嗎? 謝謝!

    -您的Python版本 (app_face_detection_recognize支援Python 3.5-3.9)


    -您的firmware版本(Firmware需要KDP2,如果不是的話需要更新)

    如何更新firmware到KDP2: Upgrade AI Device To KDP2 - Document Center (kneron.com)

  • 我的環境是Windows 10

    Python是安裝目前最新版的3.10.5

    依照您的說明更新firmware到KDP2(安裝Kneron DFUT,更新在app_face_detection_recognize裡的firmware)

    程式cam_fdfr.py執行成功!

    似乎這個版本的Python也可以Pass

    謝謝!

  • 您好,

    謝謝您的回饋,很高興程式可以執行成功!

The discussion has been closed due to inactivity. To continue with the topic, please feel free to post a new discussion.