V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
Yut
V2EX  ›  Linux

Linux 下使用非原生支持的 IR 摄像头模块

  •  
  •   Yut · 2021-01-01 20:49:05 +08:00 · 2057 次点击
    这是一个创建于 1183 天前的主题,其中的信息可能已经有所发展或是发生改变。

    github.com/EmixamPP/linux-enable-ir-emitter
    我的小新 pro13 吃上了,好香。sudo 不用输密码的感觉也太棒了
    以后只要硬件支持 Windows hello 就支持 howdy,它干脆改名叫 Linux Hei!好了

    5 条回复    2021-04-18 20:17:02 +08:00
    sbilly
        1
    sbilly  
       2021-01-03 20:15:55 +08:00
    生物认证那个么?有什么限制吗
    Yut
        2
    Yut  
    OP
       2021-01-04 13:47:16 +08:00 via Android
    @sbilly 没有,因为走的就是 Pam 嘛,理论上要你输密码的地方就能用这个替代,当然安全性肯定不如密码的
    techtony
        3
    techtony  
       2021-04-18 03:48:58 +08:00
    同款笔记本。。把抓包的参数填进去,编译完运行 enable-ir-emitter,报错了 The device does not support the given control or the specified extension unit could not be found 。。。设备是 /dev/video2,unit=0x08,selector=0x14,size=10 。data 是十组。。不知道问题在哪
    techtony
        4
    techtony  
       2021-04-18 14:10:51 +08:00
    原来是要开启红外发射的指令。。unit=0x0a,selector=0x6,size=9 。data 是{0x01, 0x03, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},开了看 ffplay,红灯会闪烁,黑白画面也同步闪烁。红灯亮的时候,红外摄像头就能看到人
    Yut
        5
    Yut  
    OP
       2021-04-18 20:17:02 +08:00 via Android
    @gaozhaotong 对那 IR 有两种,一种闪一种不闪理论上闪的效果好点
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2876 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 14:22 · PVG 22:22 · LAX 07:22 · JFK 10:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.