- Implements GStreamer element that analyzes pixel columns - Drops frames when column mean deviates from rolling baseline - Configurable window size, column index, stride, and threshold - Includes design documentation and build script - Tested successfully with IDS uEye camera source
2.8 KiB
Building IDS uEye Plugin Only
This guide explains how to build only the IDS uEye GStreamer plugin from the gst-plugins-vision project.
Prerequisites
-
IDS uEye SDK must be installed on your system
- Default location (Windows):
C:\Program Files\IDS\uEye\Develop - If installed elsewhere, set the
IDSUEYE_DIRCMake variable
- Default location (Windows):
-
Build tools:
- CMake (version 2.8.0 or higher)
- Visual Studio 2019 or newer (on Windows)
- GStreamer development files (1.2.0 or higher)
-
Required GStreamer components:
- GStreamer base library
- GStreamer video library
- GLib2
- GObject
Building
Quick Build (Windows)
Simply run the provided batch script:
build_idsueye_only.bat
Or provide a custom GStreamer path:
build_idsueye_only.bat "C:\path\to\gstreamer"
This will:
- Create a
build_idsueyedirectory - Use the standalone IDS uEye CMakeLists configuration
- Configure the project with CMake
- Build only the IDS uEye plugin
- Output:
build_idsueye\sys\idsueye\Release\libgstidsueye.dll
Default GStreamer location: C:\bin\gstreamer\1.0\msvc_x86_64
Manual Build
If you prefer manual control or need to customize the build:
# Create build directory
mkdir build_idsueye
cd build_idsueye
# Configure (adjust generator as needed)
cmake .. -G "Visual Studio 16 2019" -A x64
# Build only IDS uEye target
cmake --build . --config Release --target gstidsueye
# Or for Debug build
cmake --build . --config Debug --target gstidsueye
Custom IDS uEye SDK Location
If your IDS uEye SDK is installed in a non-standard location:
cmake .. -G "Visual Studio 16 2019" -A x64 -DIDSUEYE_DIR="C:\Path\To\IDS\uEye\Develop"
Linux Build
mkdir build_idsueye
cd build_idsueye
cmake ..
make gstidsueye
Output
The built plugin will be located at:
- Windows Release:
build_idsueye\sys\idsueye\Release\libgstidsueye.dll - Windows Debug:
build_idsueye\sys\idsueye\Debug\libgstidsueye.dll - Linux:
build_idsueye/sys/idsueye/libgstidsueye.so
Installation
To install the plugin to the GStreamer plugin directory:
cmake --build . --config Release --target install
Or manually copy the DLL to your GStreamer plugins directory (typically C:\gstreamer\1.0\msvc_x86_64\lib\gstreamer-1.0\).
Troubleshooting
IDS uEye SDK Not Found
If CMake cannot find the IDS uEye SDK:
- Verify the SDK is installed
- Check the installation path
- Set
IDSUEYE_DIRexplicitly in the CMake command
Missing Dependencies
If GStreamer dependencies are not found:
- Ensure GStreamer and development headers are installed
- Add GStreamer to your system PATH
- Set
GSTREAMER_ROOTenvironment variable if needed
Link Errors
Make sure you're building for the correct architecture (x64 vs x86) matching your IDS uEye SDK installation.