最近在做一个类似于智能广告投放的项目,简单思路是利用opencv获取摄像头图像,然后调用接口或利用其他一些离线模型进行人脸属性识别,进而投放广告。本篇先简单介绍利用opecv进行人脸识别。 ...
分类:
其他好文 时间:
2017-12-09 22:40:02
阅读次数:
168
注:本文来源:sxhong 《查询oracle比较慢的session和sql》 1 ---查询最慢的sql 2 3 select * from ( 4 select parsing_user_id,executions,sorts 5 command_type,disk_reads,sql_text... ...
分类:
数据库 时间:
2017-12-09 22:20:09
阅读次数:
191
题目描述:给出一个由字符串组成的数组,把数组中字符串的组成字母相同的部分放在一个数组中,并把组合后的数组输出; 思路: 1. 使用一个字典,键为数组中字符串排序后的部分,值为排序后相同的字符串组成的列表; 2. 遍历数组完成后,返回字典的值就可以了。 ...
分类:
编程语言 时间:
2017-12-09 20:44:46
阅读次数:
198
环境准备:Ubuntu16,matlab2017(目前只支持gcc4.9) You could set priority to use [g++/gcc-4.9] before [g++/gcc-5] . Follow these steps: --> Make sure gcc-4.9 and g ...
分类:
其他好文 时间:
2017-12-09 19:43:38
阅读次数:
249
1.如何加强? 输入内容后,有面会显示一个图片,用户点击后 可以清空文本框。 2.案例构造步骤 1)在drawable文件中建一个bg_frame_search.xml文件。 2)在drawable中放置你要显示的图片,图片名称为:delete_gray。 3)书写自定义view。 4)引用自定义v ...
分类:
其他好文 时间:
2017-12-09 18:16:20
阅读次数:
131
QAction *hideAction = new QAction(tr(" 隐藏"),this); addAction(hideAction); setContextMenuPolicy(Qt::ActionsContextMenu); ...
分类:
其他好文 时间:
2017-12-09 14:03:48
阅读次数:
100
Write to File with Qt Write Binary to File with Qt Write plain Text to File with Qt void WritePlainTextToFile(QString plainText, QString filePath) { Q ...
分类:
其他好文 时间:
2017-12-09 13:15:13
阅读次数:
224
将下面代码,粘贴到设置html首页代码即可 ...
分类:
Web程序 时间:
2017-12-08 23:02:03
阅读次数:
252
1.定义评论的视图函数@app.route('/comment/',methods=['POST'])def comment():读取前端页面数据,保存到数据库中 2.用<input type="hidden" 方法获取前端的"question_id" 3.显示评论次数 4.要求评论前登录 5.尝试 ...
分类:
其他好文 时间:
2017-12-08 22:55:11
阅读次数:
177
简介 SaltStack是基于Python开发的一套C/S架构配置管理工具。它的底层使用ZeroMQ消息队列pub/sub方式通信,使用SSL证书签发的方式进行认证管理。号称世界上最快的消息队列ZeroMQ使得saltstack能工快速在成千上万台机器上进行操作,而且使用RSA Key方式确认身份, ...
分类:
其他好文 时间:
2017-12-08 18:29:28
阅读次数:
223