Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port TeleSculptor to Kwiver V2 #548

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aronhelser
Copy link
Member

Main changes are set/get_nested_algo_config, create_algorithm and some API changes to mesh_coloration

Sprokit has not been enabled in kwiver V2, so the single Sprokit dependent class is disabled.

Cuda has not been tested.

Superbuild configs not yet updated - external fletch and kwiver v2 were used so far, with updated default versions for dependencies from kwiver v2

Main changes are set/get_nested_algo_config, create_algorithm
and some API changes to mesh_coloration

Sprokit has not been enabled in kwiver V2, so the single Sprokit
dependent class is disabled.

Cuda has not been tested.
@aronhelser aronhelser force-pushed the dev/port_kwiver_v2 branch 2 times, most recently from f0b8375 to 0acd8e5 Compare April 8, 2024 17:16
@aronhelser
Copy link
Member Author

Updated with latest commit from "main" branch of kwiver. Once Chet confirms a successful build, should be GTG.

@chetnieter
Copy link
Member

I was able to build and launch TeleScuptor from the build directory but I get an error when I try and load a video.

WARN vital.algorithm: 
Implementation 'ffmpeg' for algorithm type video_input:type could not be found.
Make sure KWIVER_PLUGIN_PATH is set correctly.   Available implementations are:
      filter
      split
      image_list
      splice
      buffered_metadata_filter
      metadata_filter
      pos

This is after running source setup_TeleSculptor.sh. It appears to find the core implementations but not the ffmpeg ones. I checked and the ffmpeg arrow is being built.

@chetnieter
Copy link
Member

I also had issues with the installed version (installed with the TeleSculptor-1.2.0-Linux-x86_64.sh script). When I tried to run it I get this error.

./TeleSculptor: error while loading shared libraries: libQt5Xml.so.5: cannot open shared object file: No such file or directory

@aronhelser
Copy link
Member Author

I tried loading a video, and I saw when I started TeleSculptor that it couldn't find any of the plugin .so files. I uncommented the export LD_LIBRARY_PATH line with the fletch lib dir in build/external/kwiver-build/setup_KWIVER.sh and that was fixed. This indicates to me that the rpaths aren't fully working. I also encountered a python error about being unable to import kwiver.vital.tests, and that went away when I removed export KWIVER_PYTHON_PLUGIN_PATH="kwiver.vital.tests.alg" from the setup .sh

@aronhelser
Copy link
Member Author

Current state for me: superbuild shas updated for fletch and kwiver, and Telesculptor builds and runs for me from the build directory.

If I install the TeleSculptor-1.2.0-Linux-x86_64.sh script like Chet did, ./TeleSculptor runs, but when I try to load a video it is unable to find any plugin implementations for loading the video. So the plugin path is not set correctly in this installer, seems like?

Work on this is currently paused in favor of work on burnout web.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants