Giter Club home page Giter Club logo

Comments (4)

TIS-Edgar avatar TIS-Edgar commented on August 16, 2024

Hi,

Ubuntu 20.04 Packages have to exist separately due to the fact that a different libzip library is shipped.
Ubuntu <=18 and >= 22 ship libzip4. Ubuntu 20 ships libzip5.
We were unable to find any reasoning on Ubuntus side for this.
The libzip dependency is the only difference in the packages, code wise

Our download section is also kept in sync with the github release page (easier to link to):
https://github.com/TheImagingSource/tiscamera/releases

The precompiled Debian packages are all natively compiled with the default compiler of the respective Ubuntu release.
Ubuntu18 packages will have been compiled with gcc 7.5.0.
Ubuntu20 packages will have been compiled with gcc 9.3.0.

The change causing performance differences between 1.0 and 1.1 is very likely the tcammainsrc GstBufferPool.
I am assuming you are using a USB/GigE and not a FPD camera.
The bufferpool ensures that a fixed amount of buffers and their metadata are allocated at the start of the stream
and are then reused once the user frees them. Previously reallocations could happen as the entire buffer management was done by gstreamer and not tiscamera.

I am unsure if that change is enough to account for the entire difference you are observing.

  • Since you are switching between Ubuntu18/20 packages, are you changing Jetpack versions?
    That would mean, that your are using different GStreamer versions, meaning the base libraries could influence the result.

  • How are you measuring ? What is the test setup?

If we can assist you in any way, please let us know.

from tiscamera.

yukiogawa21 avatar yukiogawa21 commented on August 16, 2024

Hi,

I am currently specifying the l4t-ml image and switching Ubuntu versions within the container to test. The application uses a GigE camera. Thank you for the detailed explanation regarding the different speeds between Ubuntu 18 and Ubuntu 20. Currently, I cannot fully replicate the application in an Ubuntu 22 container. If I use the tiscamera package for Ubuntu 18/22 in the Ubuntu 22 container, given that it's the same package, is it correct to assume that the processing speed could be similar to what it was with Ubuntu 18?

from tiscamera.

TIS-Edgar avatar TIS-Edgar commented on August 16, 2024

You should be able to use the Ubuntu18 packages, yes.
We cannot guarantee the same performance as gstreamer libraries, etc will be different but from our code no performance differences should occur.

If you want to save additional disk space and reduce the image size it may be a good idea to create the debian packages yourself. That way you can remove libusb and other dependencies that are not required for GigE.
It would not be much but might be something of interest for your task

from tiscamera.

yukiogawa21 avatar yukiogawa21 commented on August 16, 2024

Thank you very much. Your assistance has been incredibly helpful.

from tiscamera.

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.