Basler AG's cameras related questions - camera configuration issues, pylon SDK API usage, image format conversion, pypylon issues etc.
Questions tagged [basler]
27 questions
2
votes
0 answers
Docker container can't access Basler GigE vision camera
We use docker container for python project. We create all files and we need to connect basler camera via GigE vision protocol. We grab frames with pylon viewer very well. What can we do for access basler cam?
we applied this code snipped;
docker…

erenpostaci
- 79
- 5
1
vote
0 answers
read image from basler GigE camera in python
I try to read image from basler aca2500-14gc GigE camera in python but i can't
this is my code
from pypylon import pylon
import cv2
camera =…

anhhau123
- 11
- 2
1
vote
0 answers
Get the image acqusition time of a Basler camera without the time for data transfer
I am using a Basler camera and as wrapper I am using pypylon. I want to measure the time which my camera needs to acquire an image internally. The time for the data transfer is not important for me. What I am doing is that I start the timer and then…

mzr97
- 69
- 7
1
vote
1 answer
Python: Add a pointer to image data in memory to acquisition queue, not the retrieved image data
I have a multithreaded image processing Python SW where:
One thread does image acquisition and appends metadata from other sensors (accelerometer ++) and pushes it all to a queue
Another thread pops from the queue and does a computation on the…

Joachim Spange
- 85
- 1
- 1
- 10
1
vote
0 answers
Fixed contour display
I use the grain contour method and the openCV library to count the seeds and set them up. My camera is a Basler 1920 ace.
I use light for lighting and even increase the exposure to 50000, but when we are going to count the grains live, in a fixed…

Saberi
- 41
- 3
1
vote
2 answers
Connect Basler camera and show video on PyQt5 GUI
I have an application like this 1 with one display to show real-time basler camera into it . I already figured out how to connect to Basler camera and show video on it but the video is not very smooth.
#Connect to a camera
for i in…

Minh Ngôn Đặng
- 35
- 1
- 7
1
vote
1 answer
What is the best way to store a ring buffer of images
I have two cameras with 4MP at 60 fps. In case of an external trigger, I have to make two videos of the last 2 minutes for each camera. The cameras are basler cameras and I'm using pypyplon to get the images and using OpenCV to process them.
For…

Rafid Abyaad
- 11
- 3
1
vote
0 answers
How to add widgets to pypylon ImageWindow?
Now I'm working with pypylon (https://github.com/basler/pypylon) which is a Python wrapper for C++ library for working with Basler camera. This library provides an oportunity to retrieve data (images, which are of type pylon.GrabResult) from the…

Dmytro Kolupaiev
- 151
- 1
- 6
1
vote
0 answers
ROS 2 Topics synchronizes
I have a research project, using 2 Basler cameras (both a2A1920-16ucPRO) to create a disparity map. I extract the images via ROS. For this I have subscribed to 2 Topics, where I regularly get images at 2 hertz. The problem is that these 2 images…

Benli
- 21
- 1
0
votes
1 answer
Using PyPylon API in tandem with pylon viewer
This feels like a simple question, but I haven't been able to parse this out from the pypylon documentation. Is there a way to acquire a single image from a camera that's actively connected to the pylon viewer? or is there a way in pypylon to…

sav8670
- 1
0
votes
1 answer
Basler Pylon C API and Pixel Format Selection
Intent
I want to develop a machine vision application for high performance applications. Hence I wish to minimise the amount of image processing performed later on after image capture. I require colour as it will be a detection parameter later on,…

CXX_NVCC
- 31
- 4
0
votes
1 answer
In Pylon C# How to Change frameMode to Trigger?
i want to grab image only when get trigger signal so i have to change basler camera's frameMode to Trigger mode
hDev = Pylon.CreateDeviceByIndex((uint)0);
Pylon.DeviceFeatureFromString(hDev, "TriggerSelector", "FrameStart");
…

gyutae kim
- 7
- 2
0
votes
0 answers
Silent fail during initialization of embedded Python
I participate in a Python project, which utilizes industry cameras, such as Basler's or Allied Vision's, to inspect quality of products' packaging. I used Basler's Python Pylon API to communicate with the camera. I stumbled upon a problem that was…

user3477729
- 15
- 3
0
votes
1 answer
Basler bip2 640c camera pylon connection
I want to use opencv to process images from Balser Bip2 640c camera using the pylon sdk. I have tried the sdk example to connect to the camera but I cannot find the camera. Is that a special sdk for these old cameras?
I have tried to print the…

appie
- 32
- 5
0
votes
0 answers
Basler Pylon camera parameter set command causing image grab timeout
I have code to control the settings of and grab images from a Basler acA720-290gm camera. After a period of running, if the exposure time is changed, the Pylon::CBaslerUniversalInstantCamera.RetrieveResult call starts timing out and the camera…

Patrick
- 147
- 1
- 15