Bugsounet Coding

    • Register
    • Login
    • Search
    This Forum is now reserved to registred users!

    Unsolved Porcupine Custom Models

    EXT-Detector
    2
    4
    52
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      VancouverRobert last edited by

      I have completed the code changes to support custom models for Porcupine. The changes affect the modules Gateway, EXT-Detect and @bugsounet/porcupine.

      The major backwards compatibility breaking change is that it requires using the SDK v2.1+ which in turn requires getting an access key from Picovoice even if you are just using the builtin models.

      How should I handle this? I can submit it as a pull request that updates the current Porcupine or I can add a new detector engine Porcupine-v2.

      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by

        Hi, I have not coded it because we have to create (again…) an API key
        After purpose your change… I will see what can i do

        • @bugsounet/porcupine is there
        • EXT-Detector is there
        • No change is needed in Gateway, if so, that’s a bad way
        1 Reply Last reply Reply Quote 0
        • V
          VancouverRobert last edited by

          The change in Gateway is required because of a change in EXT-Detector’s config schema. Please review the changes in Robert-Nelson/bugsounet-Gateway, Robert-Nelson/bugsounet-EXT-Detector and Robert-Nelson/bugsounet-porcupine. This is the version that upgrades porcupine to use v2 of the SDK and is not backwards compatible. But you can get a sense of what I had to change to make custom models work and why the changes were required. I will create a version of the patch that creates a new detector engine porcupine-v2 and submit a pull request. You can do as you choose from there.

          1 Reply Last reply Reply Quote 0
          • bugsounet
            bugsounet Main Coder last edited by

            Thanks, I will inspect. I have no time for it yesterday sorry

            I back to you soon

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB | @bugsounet ©2022