会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
IxXi1120
博客园
首页
新随笔
联系
订阅
管理
2024年12月19日
freeswitch集成tts和asr
摘要: LUA脚本实现语音的对话并记录在数据库 -- 引入 LuaSQL MySQL 模块 local luasql = require "luasql.mysql" -- 数据库连接设置 DBHOST = '127.0.0.1' -- MySQL 服务器地址 DBNAME = 'freeswitch' -
阅读全文
posted @ 2024-12-19 19:01 IxXi
阅读(589)
评论(0)
推荐(0)
2024年12月13日
python后端api封装
摘要: 可以将 Python 脚本作为一个后端服务运行,提供 HTTP API 接口,供 Java 通过 HTTP 请求调用。这样无需使用消息队列,也能保持服务的简洁。以下是具体实现步骤: 使用 FastAPI 搭建 Python HTTP 服务 FastAPI 是一个现代的、快速的 Web 框架,非常适合
阅读全文
posted @ 2024-12-13 21:48 IxXi
阅读(86)
评论(0)
推荐(0)
2024年11月19日
开源好项目
摘要: 数据大屏设计项目:https://gitee.com/anji-plus/report 模拟智能家居:https://github.com/PieceOfFall/SmartHouseSystem
阅读全文
posted @ 2024-11-19 15:17 IxXi
阅读(25)
评论(0)
推荐(0)
2024年9月13日
PDF操作
摘要: //根据坐标位置写入操作 public static void main(String[] args) throws Exception { String input = "pdf";//放入pdf文件 PdfReader pr = new PdfReader(input);//创建pdf读取 Pd
阅读全文
posted @ 2024-09-13 09:14 IxXi
阅读(34)
评论(0)
推荐(0)
2024年9月12日
json数据解析
摘要: String data = "{json}"; ObjectMapper objectMapper = new ObjectMapper(); JsonNode rootNode = null; try { rootNode = objectMapper.readTree(data); //通过将S
阅读全文
posted @ 2024-09-12 14:34 IxXi
阅读(31)
评论(0)
推荐(0)
公告