Skip to content

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 2019.4.36f1 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