Skip to content

ZebraDevs/Bioptic-Color-Camera-SDK-for-Windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Camera SDK for Windows

This repository provides source code for sample applications demonstrating the capabilities of Zebra Bioptic color camera using the Zebra Color Camera SDK for Windows.

Prerequisites

The following are required to build and run the C++ and C# sample applications:

Prerequisite Details
Operating System Windows 10 or later
IDE Microsoft Visual Studio 2019 or higher
.NET Framework 4.5 or higher
Zebra Color Camera SDK Must be installed from Zebra Support Downloads

Note: The sample applications dynamically link to header files (.h), library files (.lib), and DLL files (.dll) from the default SDK installation location. If the SDK is not installed in the default location, you will need to adjust the build configuration (see Build Configuration below).

Getting Started

1. Install the Zebra Color Camera SDK

Download and install the Zebra Color Camera SDK for Windows from the official Zebra support site:

🔗 Download Color Camera SDK for Windows

Default installation path: C:\Program Files (x86)\Zebra Technologies\Barcode Scanners\Bioptic Camera\SDK\

2. Clone the Repository

git clone https://github.com/ZebraDevs/Bioptic-Color-Camera-SDK-for-Windows.git

3. Open the Solution in Visual Studio

4. Build and Run

  1. Select the desired configuration (Debug or Release) and platform (x86, x64, AnyCPU).
  2. Build the solution.
  3. Connect a Zebra Bioptic Color Camera device.
  4. Run the application.

Build Configuration

The sample applications are pre-configured to link against SDK files from the default installation path. If your SDK is installed in a non-default location, the following build settings need to be adjusted in the Visual Studio project properties.

C++ Additional Include Directories

The following SDK header include paths are configured under Project Properties → C/C++ → General → Additional Include Directories:

C:\Program Files (x86)\Zebra Technologies\Barcode Scanners\Bioptic Camera\SDK\include\camera_sdk\inc
C:\Program Files (x86)\Zebra Technologies\Barcode Scanners\Bioptic Camera\SDK\include\camera_sdk\firmware_update
C:\Program Files (x86)\Zebra Technologies\Barcode Scanners\Bioptic Camera\SDK\include\device_manager\inc
C:\Program Files (x86)\Zebra Technologies\Barcode Scanners\Bioptic Camera\SDK\include\image_converter
C:\Program Files (x86)\Zebra Technologies\Barcode Scanners\Bioptic Camera\SDK\include\imaging_library\include

Linker Additional Library Directories

The library path is configured under Project Properties → Linker → General → Additional Library Directories:

C:\Program Files (x86)\Zebra Technologies\Barcode Scanners\Bioptic Camera\SDK\$(Configuration)\lib\$(PlatformShortName)\

$(Configuration) resolves to Debug or Release and $(PlatformShortName) resolves to x86 based on your active build configuration and platform.

Post-Build Event (DLL Copy)

A post-build event is configured to copy the required SDK DLLs to the output directory. The script is as follows:

IF "$(ConfigurationName)"=="Release" goto release_build
IF "$(ConfigurationName)"=="Debug" goto debug_build

echo ERROR: Unknown configuration "$(ConfigurationName)"
exit /b 1

:debug_build
echo debug_build
copy /Y "C:\Program Files (x86)\Zebra Technologies\Barcode Scanners\Bioptic Camera\SDK\Debug\bin\x86\*.dll" "$(TargetDir)"
goto end

:release_build
echo release_build
copy /Y "C:\Program Files (x86)\Zebra Technologies\Barcode Scanners\Bioptic Camera\SDK\Release\bin\x86\*.dll" "$(TargetDir)"
goto end

:end
echo Done copying SDK DLLs.

Adjusting for a Non-Default Installation Path

If the Zebra Color Camera SDK is not installed at the default path, update the following in your Visual Studio project:

  1. C/C++ → General → Additional Include Directories – Update all five include paths listed above.
  2. Linker → General → Additional Library Directories – Update the library directory path.
  3. Build Events → Post-Build Event → Command Line – Update the DLL copy paths in the post-build script.

Documentation

For more information about the SDK and APIs, go to https://techdocs.zebra.com/dcs/scanners/camera-sdk-windows/about/ or visit the forums.

License

MIT

About

This repository provides the sample application source code for Bioptic Color Camera SDK for Windows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors