Coder Social home page Coder Social logo

Comments (9)

TIS-Stefan avatar TIS-Stefan commented on July 23, 2024

Sorry for the delay of my answer.
From the image alone I can not guess anything.
Which camera model, video format and frame rate to you use?
Where does Python hang?
Which Python version do you use?

Stefan

from ic-imaging-control-samples.

JesusDelHoyo avatar JesusDelHoyo commented on July 23, 2024

The camera is: DMx 72BUC02. I use it with the settings it is initialized (max. resolution and framerate).
I tried using Python 2.7 and 3.8-3.9. I had the same problem with both of them.
Python hangs as soon as the active movie window becomes the active window (if I click the icon or I close other windows).

Jesus.

from ic-imaging-control-samples.

TIS-Stefan avatar TIS-Stefan commented on July 23, 2024

Hello Jesus

Thank you. Can you please install IC Capture and see, whether you can use the camera with it? IC Capture can be downloaded from https://www.theimagingsource.com/support/downloads-for-windows/end-user-software/iccapture/.

Which Python sample did you use? (It does not look for the PythonNET sample, which I would prefer.)

Stefan

from ic-imaging-control-samples.

JesusDelHoyo avatar JesusDelHoyo commented on July 23, 2024

Hello Stefan

I use IC Capture normally without problems.

I'm not sure if I understand what do you mean as a Python sample. Mainly, I use the module tisgrabber.py.

Thank you for your help.
Jesus.

from ic-imaging-control-samples.

TIS-Stefan avatar TIS-Stefan commented on July 23, 2024

Hello Jesus

Can you please show me the smallest python script you use, that shows your issue?
Does the live video update in the "ActiveMovie" window?

Stefan

from ic-imaging-control-samples.

JesusDelHoyo avatar JesusDelHoyo commented on July 23, 2024

A shortened version of the script is this:

import ImagingSource.tisgrabber as IC
cam = IC.TIS_CAM()
cam.open("DMx 72BUC02 14210296")
cam.StartLive(1)

The video in the ActiveMovvie window updates correctly until the window becomes the active one and python crashes.

Jesus.

from ic-imaging-control-samples.

TIS-Stefan avatar TIS-Stefan commented on July 23, 2024

Hi Jesus

No call to stoplive and exitlibrary?

Can you add this please?

Stefan

from ic-imaging-control-samples.

JesusDelHoyo avatar JesusDelHoyo commented on July 23, 2024

Hi Stefan.

I use a Jupyter Notebook to control the camera. The part of the code to take the images (SnapImage) and stop the camera (StopLive) are afterwards.

Jesus.

from ic-imaging-control-samples.

TIS-Stefan avatar TIS-Stefan commented on July 23, 2024

Hi Jesus

can you please try with "normal" Python? I am not familiar with Jupyter Notebook and do not know, which side effects that has.

Stefan

from ic-imaging-control-samples.

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.