Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

do3think-webcam-bridge (do3cam)

A lightweight C++ bridge that exposes a DO3THINK USB3 Vision industrial camera (via the DVP2 SDK) as a standard virtual DirectShow webcam, so it works in OBS, Kinovea, Zoom, Discord, browsers, and any other DirectShow-based application.

DO3THINK camera  ->  DVP2 SDK  ->  do3cam.exe  ->  Softcam  ->  any DirectShow app
   [hardware]     [frame capture]   [bridge]     [virtual cam]   [OBS, Kinovea, ...]

Frames are captured as BGR24 from the camera and piped straight into Softcam with zero pixel-format conversion.

Only do3cam/ is this project's own code (MIT). The DVP2 SDK, the camera driver, and the DVPCamera64.dll runtime are proprietary DO3THINK software and are not included here — you must obtain them from the manufacturer. Softcam is included as a git submodule pointing at its upstream (MIT) repository.

What's in this repo

do3cam/            # the bridge — main.cpp, CMakeLists.txt, build.bat  (MIT, this project)
sdk/
  softcam/         # git submodule -> github.com/tshino/softcam  (MIT)
  DVP2_SDK/        # NOT included — install the DO3THINK DVP2 SDK here (see below)
  Do3think/        # NOT included — DVPCamera64.dll runtime lives here (see below)

Prerequisites

  • DO3THINK camera (developed against the M3ST130-H) with the vendor driver installed
  • DVP2 SDK from DO3THINK — http://www.do3think.com
  • Visual Studio 2022 with the Desktop development with C++ workload
  • CMake 3.20+

Getting the dependencies

1. Softcam (MIT, fetched automatically):

git clone --recurse-submodules https://github.com/Nic-dorman/do3think-webcam-bridge.git
# or, if already cloned:
git submodule update --init --recursive

2. DVP2 SDK + camera runtime DLL (proprietary — supply your own):

Install the DO3THINK DVP2 SDK, then place its files so the build can find them:

sdk/DVP2_SDK/library/Visual C++/include/DVPCamera.h   # SDK headers
sdk/DVP2_SDK/library/Visual C++/lib/x64/DVPCamera64.lib
sdk/Do3think/DVPCamera64.dll                           # runtime DLL (from the driver install)

The build will stop with a clear error if these are missing.

Building

cd do3cam
build.bat

This builds Softcam from source, then builds do3cam, copying the runtime DLLs to the output directory. See do3cam/README.md for manual build steps and full usage details.

Usage

  1. Register the virtual webcam once (admin): regsvr32 sdk\softcam\dist\bin\x64\softcam.dll
  2. Connect the camera and run do3cam\build\Release\do3cam.exe
  3. Select "Softcam" as the camera source in any DirectShow app

Licensing

  • do3cam/ — MIT, see LICENSE.
  • Softcam — MIT, © tshino (see the submodule).
  • DVP2 SDK, drivers, and DVPCamera64.dll — proprietary © DO3THINK; not distributed here.

About

Bridge a DO3THINK USB3 Vision industrial camera (DVP2 SDK) to a virtual DirectShow webcam for OBS, Kinovea, Zoom, etc.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages