D435 - Camera Protection or Custom Firmware
Hi! I need to lock the camera to my software (in python).
I want that in my NUC (with linux), only my software can use the D435 connected... Is it possible to do that?
If I can customize the firmware, what can I customize? Can I create an ID? Can I add a password? What can I do?
thank you!
-
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
-
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.
-
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).
Please sign in to leave a comment.
Comments
6 comments