Giter Club home page Giter Club logo

Comments (6)

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

Hello

With current version of tiscamera this is not possible.
Next version will have a Line1 rising and Line1 falling event, which is exactly what you want to have. That is about hardware trigger.

However, which camera model you use and also how do you trigger the camera?

Stefan

from tiscamera.

kmcgrathgenerate avatar kmcgrathgenerate commented on August 16, 2024

I am using the DMK 37BUX287 specifically with the python wrapper

from tiscamera.

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

Hello

Well, the best solution for synchronizing he cameras is connected both to the same trigger source. In case you use hardware trigger.
In case you use software trigger, the best method I know. is creating a thread for each camera. In the thread the software trigger functions is called, nothing more, the thread function can return. This avoids a delay between cameras, because the software trigger send function waits for an answer of the camera. If both software triggers run in "parallel", this waiting time can be avoided.

Stefan

from tiscamera.

kmcgrathgenerate avatar kmcgrathgenerate commented on August 16, 2024

Yes I agree, and that is what we are currently doing. The issue is that the SDK for the other camera we are using is lacking and has no way to let us know when a new image is taken. There is no callback or any indication that an image we grab with their 'getter' is new or not (without doing some sort of image subtraction with the previous image).

That's why I was hoping for a way to know when the trigger was in earlier so I could do parallel processing instead of serial like we are forced to do for now.

from tiscamera.

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

GStreamer uses a callback from the appsink module for incoming images. So you can get the images from there and start your processing. That is, how the trigger samples in this repository work.

from tiscamera.

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

Closed due to inactivity.

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.