Skip to main content
1 vote
0 answers
148 views

I cannot generate a QImage with some text on it, keep it in memory, and then successfully display it on a pyqtgraph.ImageItem which needs it as an np.ndarray import sys import numpy as np import ...
Andrei M.'s user avatar
  • 423
0 votes
1 answer
42 views

The following code block: class MDraw(QtWidgets.QGraphicsView): def __init__(self, parent): super(MDraw, self).__init__(parent) self.data = None self.width = 0 self....
user794667's user avatar
1 vote
1 answer
168 views

I want to use DIPlip library for my project in Qt framework to show the result of DIPlib Image I need to convert dip::Image class to Qt framework QImage class, in format QImage::Format_RGB888. How can ...
Ahmet Manyasli's user avatar
1 vote
2 answers
71 views

I have a large image composed of subimages I have received from another program, I will eventually need to use the subimages as icons on buttons. I understand the math to access the bits + bytes of ...
Spurkey's user avatar
  • 33
0 votes
0 answers
64 views

I have the following image loading code (example: to feed YOLO recognition algorithm) which works: cv::Mat image = imread(image_path, cv::IMREAD_COLOR); cv::Mat blob = cv::dnn::blobFromImage( image, ...
Jean-Michaël Celerier's user avatar
1 vote
1 answer
102 views

I'm writing an image-processing app with Qt6.5.3. There's a producer(camera) that keeps grabbing images and a consumer that performs detection on grabbed images. As the detection could be quite slow, ...
tanjor's user avatar
  • 113
1 vote
1 answer
384 views

I am building two apps, one client, and one server. I need to send and image via RPC to the server app and convert it back into QImage. When I do the conversion, I noticed that the images don't match ...
Lys4nder's user avatar
0 votes
0 answers
74 views

I'm building a project where a client sends an image buffer to the server and this server shows the received image using a QGraphicsView. Everything works properly except for the signal calling part.  ...
iumonyty's user avatar
0 votes
1 answer
675 views

I am trying to build a simple image editor app using Python and PyQt6. At the moment, TIFF images are loaded using cv2.imread(). Then, the user can make several adjustments (contrast, colors, etc.). ...
Lukas's user avatar
  • 261
1 vote
0 answers
113 views

I have a CSV colormap image and want it to be able to move horizontally and (similar to an interactive world map like google maps) have one side wrap back to the other side when moved, like so: [...
Isaac's user avatar
  • 21
-1 votes
1 answer
394 views

I have a scenario where I need to continuously display frames from a QImage in a QLabel when a window is open in a Qt application. I have 2 classes involved in this scenario: Camera (where the buffer ...
a.wise's user avatar
  • 314
1 vote
1 answer
286 views

I am able to load images through Qt's resource system, but they are not showing up in the window, without any warning or error messages. According to the documentation, getting an image to show should ...
greykhakis's user avatar
1 vote
0 answers
94 views

I have a monochromatic image displayed on a QLabel, and I would like to save the image in a plain byte array. The code is the following: QLabel *label; label = new QLabel(this); ... QPixmap pixmap = ...
abacus's user avatar
  • 33
0 votes
2 answers
895 views

I want to crop a portion of a screenshot in python using qt. I use PIL for grabing the screen and i convert it back to QImage to QPixmap for my QLabel My code works with square width and height. I ...
kostas petsis's user avatar
0 votes
0 answers
580 views

Given a variable blurmap that is a grayscale 1440x1080 numpy array that when saved with imageio results in this image: https://i.sstatic.net/AxKha.jpg What is causing PyQt to render it like this? ...
Tisaric's user avatar

15 30 50 per page
1
2 3 4 5
37