GithubHelp home page GithubHelp logo

cam_win2wsl's Introduction

cam_win2wsl

适用于wsl2到window的摄像头图像实时传输

目前WSL2 内核中暂时不包含 USB 摄像头驱动,无法使用opencv调用摄像头 为了解决这个问题,在window中用opencv读取摄像头,使用网络通信与wsl连通

本人测试环境:

window端 python3.9.7 opencv4.6.0

ubuntu20.04 python3.8.10 opencv4.6.0

使用方法

在window打开命令行,输入ipconfig查看本机IP地址 进入cam_wsl_client.py,将SERVER_ADDR变量中IP地址改为自己的的IP地址

window端运行cam_win_server.py

ubuntu端运行cam_wsl_client.py

cam_win2wsl's People

Contributors

guohaoshen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.