Giter Site home page Giter Site logo

Getting GDK-ERROR about pyslam HOT 9 CLOSED

luigifreda avatar luigifreda commented on August 14, 2024
Getting GDK-ERROR

from pyslam.

Comments (9)

GeorvityLabs avatar GeorvityLabs commented on August 14, 2024

Processing Video Input
num frames: 1101
fps: 10.0
using groundtruth: video
num_levels: 3
using opencv 4.5.3
WARNING: using NON-ORIENTED features: SHI_TOMASI - NONE (i.e. kp.angle=0)
num_levels: 3
LkFeatureTracker: num levels on LK pyr optic flow: 3
..................................
frame: 0
detector: SHI_TOMASI , #features: 2000 , [kp-filter: SAT ]
The X11 connection broke: No error (code 0)
XIO: fatal IO error 2 (No such file or directory) on X server ":0"
after 734 requests (734 known processed) with 14 events remaining

from pyslam.

GeorvityLabs avatar GeorvityLabs commented on August 14, 2024

error_pyslam

from pyslam.

luigifreda avatar luigifreda commented on August 14, 2024

Hi,
thanks for the feedback. Could you please share some info about your OS and its configuration? Python version?etc

from pyslam.

luigifreda avatar luigifreda commented on August 14, 2024

Another question: how did you install pyslam? Did you use one of the install scripts?

from pyslam.

luigifreda avatar luigifreda commented on August 14, 2024

This seems an issue connected to the usage of Tigervnc or similar tools.
See also this thread gnuradio/gnuradio#3568
I recommend finding a support forum for TigerVNC and asking there

from pyslam.

GeorvityLabs avatar GeorvityLabs commented on August 14, 2024

Hi,
thanks for the feedback. Could you please share some info about your OS and its configuration? Python version?etc

It's Ubuntu 20.04 , these are the steps I followed :

  1. $ git clone --recursive https://github.com/luigifreda/pyslam.git
  2. $ git checkout ubuntu20
  3. ./install_basic.sh (which built successfully)
  4. python3 -O main_vo.py

This is when the error occured.

from pyslam.

luigifreda avatar luigifreda commented on August 14, 2024

Just tested under Ubuntu 20.04 (after an upgrade with sudo apt-get dist-upgrade) and under an Ubuntu 20.04 docker container run from Ubuntu 18.04 and I didn't get any trouble.

Did you read the instructions in the README?
https://github.com/luigifreda/pyslam#install-pyslam-under-ubuntu-2004
You have to follow the instructions on the following page
https://github.com/luigifreda/pyslam/blob/master/PYTHON-VIRTUAL-ENVS.md
Do not run

./install_basic.sh

Instead, run

. install_all_venv.sh

N.B.: do not forget the dot! (without '/' !)

from pyslam.

GeorvityLabs avatar GeorvityLabs commented on August 14, 2024

It's working now , thank you!
I have an .mp4 file I want to test the "main_vo.py" script with, as I only have the .mp4 file and no camera settings or groundtruth file, is the a way i could go about to run mvo or slam on my .mp4 file.
Any tips to do the same would be greatly appreciated.

I'm familiar with splitting the mp4 file into frames using : ffmpeg and then have a py script to generate timestamps for each image so as to use with ORB SLAM.
I used this blog post for reference : http://20sep1995.blogspot.com/2019/02/how-to-run-orb-slam-with-your-own-data.html

Would love to do something similar using pyslam , to run mvo or SLAM on my custom .mp4 file .

from pyslam.

luigifreda avatar luigifreda commented on August 14, 2024

Did you take a look at the main README file?

https://github.com/luigifreda/pyslam#datasets

https://github.com/luigifreda/pyslam#camera-settings

If you want to use your camera, you have to:

  • calibrate it and configure WEBCAM.yaml accordingly. <=== !you always need a calibration file!
  • record a video (for instance, by using save_video.py in the folder calibration)
  • configure the [VIDEO_DATASET] section of config.ini in order to point to your video. <=== !there's already the management of videos!

from pyslam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.