Mobile wechat voice batch to text using Baidu voice recognition

Batch recognition of Baidu AI Cloud voice with WeChat Catalog Batch recognition of Baidu AI Cloud voice with WeChat Prepare tools and environment General idea Specific operation Export wechat voice file Processing exported voice files rename file Convert to pcm format Modify Demo code Previous changes Later changes Epilogue Code (fo ...

Posted by mjh513 on Sat, 04 Apr 2020 09:25:29 -0700

A case study of chrome plug-in development

Chrome plug-in development case sharing, through the chrome plug-in to add auxiliary functions to our system page, that is to send some required data and some browser local storage functions. Warehouse address chrome-plugin-example@github Main settings of manifest.json in Chrome plug-in { "permissions": [ ...

Posted by nuttycoder on Sat, 04 Apr 2020 08:08:17 -0700

json string formatting

Recently, when docking with a third-party system, we need to save their request parameters, but that long string of json is not easy to read, so we want to format it. There are many tools, but I want to make one for myself. At the beginning of the implementation, a lot of judgment was used, and the logic was very convoluted. Later, I remembere ...

Posted by DiceyJono on Sat, 04 Apr 2020 07:00:01 -0700

Bootstrap type ahead auto completion

Bootstrap type ahead auto completion - imitating Baidu search box effect Bootstrap-Typeahead.js download address: https://github.com/bassjobsen/Bootstrap-3-Typeahead Explain: Before using this plug-in, it uses input+datalist to automatically complete the selection jump effect. It works well in chrome during development, but ...

Posted by SteveFrost on Sat, 04 Apr 2020 04:40:59 -0700

HTK 3.5 decoding tool HVITE stand-alone project (implementation of Visual Studio Code)

HTK3.5 supports DNN HTK3.5 supports DNN, and originally wanted to make a model of HMM+DNN as a comparison of HMM+GMM.However, HTK does not support real-time HMM+DNN decoding.There are two reasons. HTK does not support real-time calculation of the features of MFCC_0_D_A_Z, that is, the mean of the feature space cannot be calculated i ...

Posted by pieychpi on Sat, 04 Apr 2020 02:16:22 -0700

session expired, intercept ajax request and jump to login page

1. Method 1: 1.1 use filter and ajax setup to intercept ajax and jump to the login page 1 public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) 2 throws IOException, ServletException { 3 4 HttpServletResponse hresponse = (HttpServletResponse)response; 5 HttpServletRequest hr ...

Posted by steelaz on Fri, 03 Apr 2020 21:40:17 -0700

cloudformation exercise - create EC2

This is the first novice practice of Cloudformation. Simply record the process. This exercise is to get familiar with the basic process Cloudformation is a very important service of AWS. In short, its function is to realize infrastructure as code. The administrator can generate the corresponding stack by creating the template file and executin ...

Posted by everogrin on Fri, 03 Apr 2020 16:21:38 -0700

Use the indoor three-dimensional map engine ESMap to manage camera equipment, fire equipment, and personnel track displays

At present, how to lightweight indoor three-dimensional maps, which can display maps quickly on mobile WeChat, computer browser and other platforms, shows a good map performance, and turns the map without card is a problem everyone has to face. With the three-dimensional indoor map engine ESMap, you can not worry about this problem at present. ...

Posted by Baumusu on Fri, 03 Apr 2020 14:16:50 -0700

java implementation of maven project file upload SSM ajax asynchronous request upload

java ssm framework for file upload Implementation: single file upload, multi file upload (single choice and multi choice), and use ajax to asynchronously refresh, display the uploaded file in the current interface First, the configuration file of springmvc needs to configure the upload file parser: 1 <!-- Profile resolver --> 2 ...

Posted by kustomjs on Fri, 03 Apr 2020 11:21:06 -0700

Spring MVC uses stub layer

Premise of use: stub dummy data is used when the interface does not exist (i.e. message 404) Entrance: In BusinessExceptionHandlerAdvice NoHandlerFoundException Exception capture method Flow chart   Where is the configuration file read? In oa/web/controller/handler/EnvironmentInit.java, EnvironmentInit implements ApplicationListener ...

Posted by david4u on Fri, 03 Apr 2020 05:10:15 -0700