大智

快乐工作中生活

 

2022年9月8日

spring boot 调用python ,研发环境下AttributeError: module 'clip' has no attribute 'load'

摘要: spring boot 调用python 写的 violence-detection-main 暴力检测。 命令行下直接运行检测正常,部署到另外一个机器正常。 idea开发环境下,提示 AttributeError: module 'clip' has no attribute 'load' 不知道 阅读全文

posted @ 2022-09-08 16:50 lgzh 阅读(1081) 评论(0) 推荐(0) 编辑

2021年1月29日

el-tree选中背景变色

摘要: 1、加 属性 highlight-current <el-tree :props="treeProps" :load="loadNode" highlight-current @node-click="clickNode" lazy></el-tree> 2、加样式 <style >.el-tree 阅读全文

posted @ 2021-01-29 15:48 lgzh 阅读(834) 评论(0) 推荐(0) 编辑

2019年1月29日

jquery datatable分页

摘要: 页面一直加载中 datatable 处理中,Draw 参数后台写死导致,需要动态改变。 阅读全文

posted @ 2019-01-29 14:23 lgzh 阅读(278) 评论(0) 推荐(0) 编辑

2018年7月25日

png 变透明

摘要: using System.Drawing Image image; image = Image.FromFile("d:\\1.png"); Bitmap bitmap = new Bitmap(image); bitmap.MakeTransparent( Color.White ); bitma 阅读全文

posted @ 2018-07-25 14:18 lgzh 阅读(159) 评论(0) 推荐(0) 编辑

2018年4月4日

Code First 不自动生成数据库

摘要: 工具--〉程序包管理器控制台 k1. 启用迁移: Enable-Migrations Enable-Migrations -ContextTypeName Mvc4WebSite.Models.MvcGuestbookContext 迁移 Mvc4WebSite项目下的MvcGuestbookCon 阅读全文

posted @ 2018-04-04 14:35 lgzh 阅读(320) 评论(0) 推荐(0) 编辑

2018年1月10日

读取文件不是真实的具体路径 setZh.ini

摘要: 读取 c:\windows\Syswow64\XX\XX.ini 时内容不正确。 发现真实文件为: C:\Users\用户名\AppData\Local\VirtualStore\Windows\SysWOW64\电子签章--word win7系统 下可以通过 c:\windows\Syswow64 阅读全文

posted @ 2018-01-10 14:22 lgzh 阅读(193) 评论(0) 推荐(0) 编辑

2017年10月18日

win10 开发mfc 64位 ocx控件

摘要: 问题1、模块“XXX.ocx”加载失败 解决办法:项目--〉属性--〉常规-〉配置类型-〉 动态库(.dll) 修改为 静态库(.lib) 问题2、1>x64\Release\stdafx.obj : fatal error LNK1112: 模块计算机类型“x64”与目标计算机类型“X86”冲突 阅读全文

posted @ 2017-10-18 09:31 lgzh 阅读(399) 评论(0) 推荐(0) 编辑

2016年9月28日

win7 下加载MSCOMCTL.OCX

摘要: cd C:\Windows\System32"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regtlibv12.exe" msdatsrc.tlbcd C:\Windows\SysWOW64"C:\Windows\Microsoft.NET\Fra 阅读全文

posted @ 2016-09-28 15:49 lgzh 阅读(229) 评论(0) 推荐(0) 编辑

2016年9月14日

getGLES1ExtensionString: Could not find GLES 1.x config!

摘要: 编辑模拟器中 Emulated performance 中不选 auto 和 Hardware - GLES 2.0,选择Software-GLES2.0。解决问题 阅读全文

posted @ 2016-09-14 16:43 lgzh 阅读(323) 评论(0) 推荐(0) 编辑

2015年4月29日

IUnknown(TVarData(Params[0]).VPointer) as Range

摘要: IUnknown(TVarData(Params[0]).VPointer) as Range 修改为 IUnknown(TVarData(Params[0]).VPointer) as WOrd_TLB.Range {const Range}, 阅读全文

posted @ 2015-04-29 14:13 lgzh 阅读(300) 评论(0) 推荐(0) 编辑

导航