View my account

D435 - Camera Protection or Custom Firmware

Comments

6 comments

  • MartyG

    The firmware driver is closed-source software whose code is not customizable.

    The easiest way to implement protection may be to require the serial number of the particular camera attached to the computer in order to access the camera's functions.  So presumably, you would set your software up so that a string field containing the camera serial number is only filled in once you meet a protective condition, such as correctly entering a password.  If the password is correct then the serial number of the attached camera is retrieved and placed into the string variable that the program checks for the serial number.  Otherwise, the variable is blank and so the program cannot access the camera.

    The serial number is retrieved with the instruction RS2_CAMERA_INFO_SERIAL_NUMBER

    https://github.com/IntelRealSense/librealsense/issues/3434#issuecomment-475825705

    0
    Comment actions Permalink
  • Lab

    Thank you!
    So it's not possible to forbid other softwares to use my D435, right?

    It will be a public computer, and I would like to lock the camera for other softwares...

     

     

    0
    Comment actions Permalink
  • MartyG

    If it were a Windows computer then access to the camera could be blocked by disabling it in the Privacy settings of Windows, and perhaps setting the control panel so that only a user with the right level of access permissions such as Administrator could use the camera.

    As you are using Linux, if you wanted to set access to hardware to particular users, you could perhaps create a permissions group.

    https://unix.stackexchange.com/questions/141255/give-a-specific-user-permissions-to-a-device-without-giving-access-to-other-user

    0
    Comment actions Permalink
  • Lab

    Ok! Thank you very much!

    0
    Comment actions Permalink
  • Lab

    Sorry, another question:

    With a big order (> 40 sensors) is it possible to have a custom firmware? 

    0
    Comment actions Permalink
  • MartyG

    There's no limit on the number of questions, so don't worry.  :)

    The subject of custom firmware is answered in the link below by the Chief Technical Officer of the RealSense Group at Intel (agrunnet).

    https://github.com/IntelRealSense/librealsense/issues/2517

    0
    Comment actions Permalink

Please sign in to leave a comment.