MahdiMseddi Hi all, I used the standalone tutorial of cumulative object counting found in the depthai-experiments repo in github and it is working just fine. My question is related to the security of the code: if I succeed to send the code using the dai.DeviceBootloader, can the code from the node script be accessible when using a host device ? I mean is there a possibility to get this code by accessing the storage of the camera or by using a host device connected to the same network.
erik Hi MahdiMseddi , In general, it's not. You could eg. save some data (eg. image/video) to emmc memory/SD card, and on network request (from the host) Script node could read & return that data (image/video) to the host. Thoughts? Thanks, Erik
MahdiMseddi erik Thank you very much for your reply. From the provided tutorial, I could read the data as text or image. For security measures, I want to check if the code flashed to the camera during the standalone mode is saved in the memory and could be accessed or not ? Thank you very much
erik Hi MahdiMseddi , It's flashed into the EEPROM, to which Script node doesn't have access to - so it can't be read. Note that scope of safety of these devices is LAN - if user has access to LAN, they have (full) access to the device anyways.