Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use Basler cameras in Unity

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

ebadier/BaslerPylonUnity

Repository files navigation

Use Basler Cameras in Unity

  • The .NET SDK from Basler is not compatible with Unity, so a Wrapper of the C++ SDK has been made to be compatible with Unity
  • You can directly record videos from multiple Basler cameras simultaneously
  • All video recording is done in a dedicated thread per camera, so the Unity main thread is never blocked
  • Developped and Tested with Unity 2019436f1 on Windows 10, with 2x Basler acA1920-155uc

Getting Started

1. Plug your Basler cameras on your computer, and configure them using the PylonViewer software

2. Close the PylonViewer software, or at least close the camera devices inside it, because only one program can access the cameras at a time

3. Open the BaslerPylonRecorderTest scene in Unity, and in BaslerPylonRecorderTest's inspector:

  • set your cameras serial numbers
  • you can also set the video encoding quality

4. Press Play

Requirements

Optional

  • If you want to build the BaslerPylonWrapper project yourself, you should copy the generated BaslerPylonWrapper.dll to Plugins/x86_64
  • You can also copy the latest dlls located in "C:\Program Files\Basler\pylon 7\Runtime\x64" to Plugins/x86_64

About

Use Basler cameras in Unity

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /