上一页 1 ··· 105 106 107 108 109 110 111 112 113 ··· 179 下一页
摘要: 一,官方文档: https://www.workerman.net/doc/webman/request.html 二,示例代码: ImageController.php 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 阅读全文
posted @ 2023-08-19 09:09 刘宏缔的架构森林 阅读(213) 评论(0) 推荐(0)
摘要: 一,php代码: 1,类代码: app/result/Result.php 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 <?php /* 统一格式的返回 阅读全文
posted @ 2023-08-19 09:07 刘宏缔的架构森林 阅读(97) 评论(0) 推荐(0)
摘要: 一,官方文档地址: https://www.workerman.net/doc/webman/route.html 二,php代码: config/route.php 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 <?php use Webma 阅读全文
posted @ 2023-08-19 09:03 刘宏缔的架构森林 阅读(468) 评论(0) 推荐(0)
摘要: 一,启动和停止 1,启动 #-d: 以daemon方式启动,用于生产环境 liuhongdi@lhdpc:/data/webman/imageadmin$ php start.php start -d Workerman[start.php] start in DAEMON mode WORKERM 阅读全文
posted @ 2023-08-19 09:01 刘宏缔的架构森林 阅读(308) 评论(0) 推荐(0)
摘要: 一,默认页面的内容: 说明:代码位于 app/IndexController.php 参考这个文档: https://www.workerman.net/doc/webman/route.html 原始代码:显示了README.md这个文件的内容 1 2 3 4 5 6 7 8 9 10 class 阅读全文
posted @ 2023-08-19 08:58 刘宏缔的架构森林 阅读(146) 评论(0) 推荐(0)
摘要: 一,官方文档: 1,官方站: https://www.workerman.net/webman 2,安装文档: https://www.workerman.net/doc/webman/install.html 二,准备安装环境: 1,需求 环境需求 PHP >= 7.2 Composer >= 2 阅读全文
posted @ 2023-08-19 08:55 刘宏缔的架构森林 阅读(393) 评论(0) 推荐(0)
摘要: 一,代码 1,captcode.php <?php namespace capt; use think\Config; use think\facade\Cache; //use think\Session; class captcode { /** * @var Config|null */ pr 阅读全文
posted @ 2023-08-09 10:38 刘宏缔的架构森林 阅读(1158) 评论(0) 推荐(0)
摘要: 一,官方代码及文档: https://github.com/nadermx/backgroundremover 二, 安装backgroundremover的准备工作 1,安装 pytorch: https://blog.imgtouch.com/index.php/2023/08/03/rocky 阅读全文
posted @ 2023-08-09 10:32 刘宏缔的架构森林 阅读(598) 评论(0) 推荐(0)
摘要: 一,pytorch官网: https://pytorch.org/ 如图: 根据自己的需求选择版本、平台、语言环境等信息, 然后运行命令 二,运行pip安装命令: [root@img bin]# pip3 install torch torchvision torchaudio --index-ur 阅读全文
posted @ 2023-08-09 10:22 刘宏缔的架构森林 阅读(978) 评论(0) 推荐(0)
摘要: 一,ffmpeg官网: 网址: http://ffmpeg.org/ 如图: 说明:最新版本出到了6.0, 我们从dnf通道安装,版本可能略低 二,安装rpmfusion库 [root@img ~]# dnf install --nogpgcheck https://mirrors.rpmfusio 阅读全文
posted @ 2023-08-09 10:17 刘宏缔的架构森林 阅读(1138) 评论(0) 推荐(0)
上一页 1 ··· 105 106 107 108 109 110 111 112 113 ··· 179 下一页