neil

  • Feb 7, 2023
  • Joined Dec 22, 2022
  • 0 best answers
  • I ended up running the face-rec model on the host machine to solve this problem. Which handle the task fine given that it is a single board computer.
    I learned a lot in the process, thanks again for the guidance @erik

    • Hi erik ,

      Thanks very much for the pointers. I am relatively new in the field. I was wondering if you could point me to the right direction on how to edit a neural network model?

      PS: Increasing the pool/queue size didn't make any difference. The program freezes when a forth face gets into the frame.
      Many thanks!

      • erik replied to this.
      • Hi Everyone,
        I was trying the face-recognition program in depthai-experiments repo.

        I realised that the program crashes when we have a 4th face getting in the frame. I am trying to understand the reason for the limitation.

        Basically I have 2 questions.

        Is it safe to assume that the cause of this limitation is;

        1. The model created by InsightFace
        2. Intel Movidius Myriad X VPU
        3. Both

        To be able to uniquely identify more faces would I need to use either a better performing model, a more powerful VPU or both?

        Cheers!
        Neil

        • erik replied to this.
        • Thanks very much team! That sorts out my weekend plans 😃 If I can't figure it out I probably will pivot to a different hardware design.

        • Thank you so much for the detailed answer @David,

          This is very helpful. My main goal is to use the device in standalone mode and get the meta-data from ESP via TX with a ser.write() method. I can see that in this esp32-spi-message-demo "uart_echo" example I can configure GPIO pin 34 as TX and technically transmit my metadata via that pin?

          However based on your advice I shouldn't use that pin since it is used to debug the code, therefore I can choose another unused GPIO pin and set that as GPIO output GPIO(GPIO.OUTPUT, GPIO.ALT_MODE_5) is that correct?

          Finally given that my goal is to get the metadata from the device via UART using only TX/GND (to force a one way communication) would you say that another module in Luxonis shop might provide a more straightforward peripheral access for this task?

          Thanks heaps!
          Neil

          • Hi everyone 🙂
            My main goal is to get the metadata directly from the ESP32-WROOM-32D module via UART protocol instead of Bluetooth or Wi-Fi.

            When I checked the OAK-D-IoT-40 schematics and ESP32-WROOM-32D-MODULE datasheet; I can see that pins 38, 35 and 34 are GND, TXD0 and RXD0 respectively.


            My questions are:
            1 - Is it possible for me to establish a physical connection with the ESP32 using the UART protocol by soldering pins to the relative peripheral input (marked in the image below) ?

            2 - Is there a simpler way to achieve this and am I over complicating the process 😅

            Cheers!