GithubHelp home page GithubHelp logo

satoshirobatofujimoto / windowutilfor360webcam Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kazuhito00/windowutilfor360webcam

0.0 1.0 0.0 11 KB

サンワダイレクトの360度Webカメラ(400-CAM084)のウィンドウをOpenCVで分割するプログラム

License: Apache License 2.0

Python 100.00%

windowutilfor360webcam's Introduction

WindowUtilFor360WebCam

AGDRec_20210625_210247_Trim_Trim.mp4

サンワダイレクトの360度Webカメラ(400-CAM084)のウィンドウをOpenCVで分割するプログラムです。
実機での確認は取れていませんが、j5createの360° パノラマミーティングカメラ(JVCU360)でも使用できると思います(メニュー自動選択を利用する際は検出色の調整が必要かもしれません)

Requirement

  • opencv-python 4.5.2.54 or later

Usage

以下コマンドでサンプルを起動できます。
デフォルトではカメラ側のモード切替メニューを画像処理で判別して、自動で表示が切り替わるようになっています。
また、キーボードの数字を押下することでモードを切り替えることが出来ます。
 0:そのまま表示
 1:上下2分割360度
 2:パノラマ360度
 3:360度+1方向
 4:360度+2方向
 5:広角90度
 6:広角120度

python sample.py

実行時には、以下のオプションが指定可能です。

  • --device
    カメラデバイス番号の指定
    デフォルト:0
  • --width
    カメラキャプチャ時の横幅 ※縦幅はwidth*(9/16)で計算されます
    デフォルト:960
  • --device
    カメラデバイス番号の指定
    デフォルト:0
  • --webcam_model
    カメラデバイス種類の指定 ※現状、400-CAM084のみ
    デフォルト:400-CAM084
  • --unuse_autochange
    画像解析によるメニュー自動選択の不使用
    デフォルト:指定なし

Device

01:400-CAM084 02:-

Author

高橋かずひと(https://twitter.com/KzhtTkhs)

License

WindowUtilFor360WebCam is under Apache-2.0 License.

windowutilfor360webcam's People

Contributors

kazuhito00 avatar

Watchers

James Cloos 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.