我用Python定时监控女朋友笔记本的摄像头!我被绿了?

朋友,你的笔记本有摄像头吗。

那你可要当心了。

千万不要光着身子玩电脑。

千万在不可描述的时候不可打开电脑笔记本。

千万记住要花点小钱买个黑色胶布封住笔记本摄像头这点钱不能省。

因为,你的摄像头记录了你的一切不可告人的秘密。。。。。。

因为,你的摄像头记录了你的一切不可告人的瞬间。。。。。。

让我给您展示一下。

<tt-image data-tteditor-tag=”tteditorTag” contenteditable=”false” class=”syl1553495600526″ data-render-status=”finished” data-syl-blot=”image” style=”box-sizing: border-box; cursor: text; color: rgb(34, 34, 34); font-family: “PingFang SC”, “Hiragino Sans GB”, “Microsoft YaHei”, “WenQuanYi Micro Hei”, “Helvetica Neue”, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: block;”>
《我用Python定时监控女朋友笔记本的摄像头!我被绿了?》 image

<input class=”pgc-img-caption-ipt” placeholder=”图片描述(最多50字)” value=”” style=”box-sizing: border-box; outline: 0px; color: rgb(102, 102, 102); position: absolute; left: 187.5px; transform: translateX(-50%); padding: 6px 7px; max-width: 100%; width: 375px; text-align: center; cursor: text; font-size: 12px; line-height: 1.5; background-color: rgb(255, 255, 255); background-image: none; border: 0px solid rgb(217, 217, 217); border-radius: 4px; transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);”></tt-image>

代码加群:683380553 教你详细教程!

调用VideoCapture这个第三方模块,然后使用threading模块来做定时器。

我只设置了10秒。

在这10秒内,每2秒拍一张。

有图为证,看看他都把我拍成啥样了。

<tt-image data-tteditor-tag=”tteditorTag” contenteditable=”false” class=”syl1553495600534″ data-render-status=”finished” data-syl-blot=”image” style=”box-sizing: border-box; cursor: text; color: rgb(34, 34, 34); font-family: “PingFang SC”, “Hiragino Sans GB”, “Microsoft YaHei”, “WenQuanYi Micro Hei”, “Helvetica Neue”, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: block;”>
《我用Python定时监控女朋友笔记本的摄像头!我被绿了?》 image

<input class=”pgc-img-caption-ipt” placeholder=”图片描述(最多50字)” value=”” style=”box-sizing: border-box; outline: 0px; color: rgb(102, 102, 102); position: absolute; left: 187.5px; transform: translateX(-50%); padding: 6px 7px; max-width: 100%; width: 375px; text-align: center; cursor: text; font-size: 12px; line-height: 1.5; background-color: rgb(255, 255, 255); background-image: none; border: 0px solid rgb(217, 217, 217); border-radius: 4px; transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);”></tt-image>

不好意思,暴露了我本尊。。。

当然,如果要真正的实现在windows下监控,还需要把python源码打包成windows平台下的exe程序。

而如果不厚道,拍到的照片不是保存在本地,而是上传到服务器进行搜集。那就侵犯了个人隐私了。

所以,朋友,需要购买彩色胶布来封住笔记本摄像头吗?

    原文作者:不谈风月_0eb8
    原文地址: https://www.jianshu.com/p/6545fba414fc
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞