• Hardware
  • Save a CSV/JSON file into camera's on-board memory?

Hi everyone,

Now I'm writing a ML program to record image classification and text recognition data at every moment using an OAK-D device. I wonder if I can write these captured data into a JSON or CSV file (wouldn't be a large file) and save in the camera, so we can download this file to evaluate the performance of my program after hours of testing.

Do models like OAK PoE have this function? Or no any model can do this actually?

Thanks

  • jakaskerl replied to this.
  • Hi YWei
    You can save the data to EMMC memory if your device has it.
    Guide here.

    Hope it helps,
    Jaka

    Hi YWei
    You can save the data to EMMC memory if your device has it.
    Guide here.

    Hope it helps,
    Jaka

    • YWei replied to this.
      a year later

      Hi jakaskerl

      I tried to check out if I can access the internal storage of my OAK D Pro PoE running the script bootloader_version.py, and it showed:

      Found device with name: 172.16.1.11

      Version: 0.0.26

      NETWORK Bootloader, is User Bootloader: False

      Memory 'Memory.FLASH' size: 67108864, info: JEDEC ID: C2 25 3A

      Application name: , firmware version: f033fd9c7eb0b3578d12f90302e87759c78cfb36

      Memory 'EMMC' not available...

      Does it mean my camera has no EMMC at all?

      Cheers,

      Austin

      Thank you jakaskerl

      Can you please clarify what you mean by emailing the support team for EMMC? Should I inquire about alternative memory options or specifically ask about other models that include EMMC?

        Hi @YWei
        You have 67MB of NOR flash onboard. The depthai FW/bootloader take up about 25MB. This leaves you with about 40MB of spare memory for the pipeline (if the pipeline is large this could take up a lot of space).

        Not sure if you can even save to FLASH from user space. I'll check with the team.

        Thanks,
        Jaka

        Hi @YWei
        Actually, NOR flash does not have an exposed filesystem. This means you can't save custom data to it.

        YWei Can you please clarify what you mean by emailing the support team for EMMC? Should I inquire about alternative memory options or specifically ask about other models that include EMMC?

        Ask for a replacement device that for sure has the EMMC memory onboard. All POE devices should have it EMMC (I think), but some lack it due to supply shortages during covid.

        link this thread along with the mail please.

        Thanks,
        Jaka