Skip to content

Basler Camera with Pylon SDK Errors #16

@lumyus

Description

@lumyus

Hey,

I built Fictrac with Cmake and the following command: cmake -D CMAKE_TOOLCHAIN_FILE=/home/vcpkg/scripts/buildsystems/vcpkg.cmake -D BASLER_USB3=ON -D BASLER_DIR="\opt\pylon5" ..
I am using PylonSDK 5 (I also tried PylonSDK 6 but the build would not work) and we are running everything on Ubuntu.

This is the error I get when running Fictrac:

Looking for config file: config.txt ..
Config file parsed (21 key/value pairs).
[ INFO:0] global /home/nely/opencv/modules/videoio/src/videoio_registry.cpp (187) VideoBackendRegistry VIDEOIO: Enabled backends(7, sorted by priority): FFMPEG(1000); GSTREAMER(990); INTEL_MFX(980); V4L2(970); CV_IMAGES(960); CV_MJPEG(950); FIREWIRE(940)
[ INFO:0] global /home/nely/opencv/modules/videoio/src/backend_plugin.cpp (248) getPluginCandidates VideoIO pluigin (INTEL_MFX): glob is 'libopencv_videoio_intel_mfx*.so', 1 location(s)
[ INFO:0] global /home/nely/opencv/modules/videoio/src/backend_plugin.cpp (256) getPluginCandidates - /usr/local/lib: 0
[ INFO:0] global /home/nely/opencv/modules/videoio/src/backend_plugin.cpp (259) getPluginCandidates Found 0 plugin(s) for INTEL_MFX
[ INFO:0] global /home/nely/opencv/modules/videoio/src/cap_images.cpp (282) icvExtractPattern Pattern: %08d @ 40022761
Could not interpret source type (40022761)!
Error! Could not open input frame source (40022761)!
Error loading parameters from specified config file (config.txt)!

I also tried to change the src_fn from 40022761 to 0 but the error stayed the same. (40022761 is the camera id in PylonViewerApp)
I also tried to build without the Pylon SDK (cmake -D CMAKE_TOOLCHAIN_FILE=/home/vcpkg/scripts/buildsystems/vcpkg.cmake) but the error stayed the same.
Somehow we are not getting any output with Fictrac, neither with the ConfigGui.
The config.txt used is the same as the one provided in the /sample folder. (Except src_fn has been changed)
Any idea on what is going wrong?

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions