Giter Club home page Giter Club logo

Comments (2)

northdk avatar northdk commented on May 29, 2024

Hi,wgqabc!
我们可以给你提供一个思路:

  1. 在铁蛋里移植自己的语音识别程序;
  2. 这里是唤醒入口,添加标识位: wakeup
    函数: static void vpm_wakeup_data_handle( const void *, const vpm_callback_data_t * data, int)
  3. 这里是识别入口,把数据指向你自己的唤醒程序:work loop
    函数: void ai_vpm_work_loop()
    这是你要处理的代码片段:
    vpm_input_buf_t vpm_data; vpm_msg_queue.DeQueue(vpm_data); input.raw = reinterpret_cast<void *>(vpm_data.start); input.size = vpm_data.length; vpm_process(&input);
    其中:input是录音数据,vpm_process替换成你自己的识别函数。

希望能帮到你。

from cyberdog_ros2.

ythdwl avatar ythdwl commented on May 29, 2024

这个可以认真学习了

from cyberdog_ros2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.