Most voted "image-processing" questions
Image processing is the application of a set of techniques and algorithms to a digital image to analyze, enhance or optimize image features such as sharpness and contrast.
Learn more…126 questions
Sort by count of
-
1
votes1
answer285
viewsHot color detection in Python image
I have a problem and I need your help. I have a series of thermographic images, which I need to detect the hot spot (shown in the bar to the right of the image) in the area where the analysis is…
-
1
votes1
answer56
viewsFlutter: equivalent CSS image-Rendering in Flutter
I have an API that returns pixel art’s, this API returns only images with small size: 25x25, 50x50. Problem As the images are very small it is not possible to display these images at a higher…
-
1
votes1
answer66
viewsUnboundlocalerror: local variable 'res' referenced before assignment - raster image scanning error (like numpy array)
I created a program that takes raster images (created in arcmap) and recognizes their polygons (their divisions). First, what I did was turn the image into a numpy array. Follow an example image…
python python-3.x array numpy image-processingasked 3 years, 9 months ago Sara Isabel Aleixo Perestrelo 13 -
0
votes1
answer551
viewsCalculation of figures area
I may have something on the subject here, but I haven’t found it. I am new in the area and would like help to elaborate a C++ algorithm for detecting the area of a predetermined color in a figure.…
-
0
votes1
answer472
viewsUpload images using PHP?
I have a page that loads about 90% of the content based on images, the size of the images varies from 20kb up to 150kb depending on the size of the page, to improve the loading performance of the…
-
0
votes0
answers36
viewsHow to return image without being saved in the database?
I will store the images in the folder img on my website. I wanted to know if there is any way to search a certain image using the search form, so that when the search was done, it would be displayed…
image-processingasked 7 years, 6 months ago WPfan 786 -
0
votes1
answer114
viewsTransferring image via socket, image turns black
My server sends a command to the client and the client sends a Printscreen to the server using this code: Image printScreen = new Bitmap(monitorWidth, monitorHeight); Graphics graphics =…
-
0
votes1
answer207
viewsKanade Lucas Tomasi (KLT) optical flow algorithm in Python
Hello. I searched all over the Internet and couldn’t find. Someone has an alternative to perform feature extraction on images with the python Kanade Lucas Tomasi (KLT) algorithm?
python opencv image-processing artificial-intelligence computer-scienceasked 6 years, 4 months ago FabianoF 55 -
0
votes1
answer2905
viewsSegment image and highlight object border using python
I’m testing some algorithms to improve the image quality that my hardware is getting. I have in the image a pick and I would like to highlight the object contained in it. I used the code below to…
-
0
votes1
answer200
viewsIndexerror: image index out of range using PIL
I’m starting to work with image processing and need to do a simple exercise to double the size of a. I have the following script: from PIL import Image imagem = Image.open("local_da_Imagem", "r")…
-
0
votes1
answer158
viewsHow to ignore comments on P3 ppm files?
In the ler_arquivo_ppm_p3(const char *filename) function how would you ignore comments (# comet) in ppm P3 files? #include <stdio.h> #include <stdlib.h> typedef struct PIXEL { int r, g,…
-
0
votes0
answers75
viewsHow do I convert the image data to float? Or is there something wrong with the code?
I’m testing a code and I had problems: I can’t see the image. The message that appears is: Typeerror: Image data cannot be converted to float (picture data cannot be converted to float) CODE: from…
-
0
votes0
answers41
viewsProblem loading color detected by Arduin
I have a problem loading the information on Arduino via pyserial. I’m using a python and opencv script to do color detection via webcam. For each color detected, I want to inform the Arduino so that…
-
0
votes1
answer56
viewsRename Imageview to Upload
Good morning, I would like to ask a question, my APP so far the guy takes a photo of the phone and is in an Imageview (Ex: img1), I need to be created a name defined by me in an example variable:…
-
0
votes1
answer581
viewsHow to show only 1 image with Javascript
Good morning! I performed a customization for a page, where I used javascript to randomly show an image when reloaded. I have no knowledge of Javascript, I saw a video on youtube and I managed to do…
-
0
votes1
answer499
viewsUpload an array of images with Node.js, Multer and Sharp
In addition to uploading the images I do a treatment on them with Sharp, uploading only 1 image with upload.single('image') the treatment is executed and the image is saved, but when I try an array…
-
0
votes0
answers149
viewsHow do I get the angle of an image gradient, using Python and Opencv
I need to get the angle of the gradient of an image, I’m programming in Python and using Google Colab for the codes. I found this code here, which should show me the angle of the gradient: import…
-
0
votes0
answers36
viewsI’m having trouble segmenting an image
I’m creating a mix of image segmentation by k-Means and Spectral clustering, but I have a big problem at the end. I’ll leave the code here: import cv2 import timeit import time import numpy as np…
-
0
votes0
answers61
viewsHow to detect and calculate the angle of an object inside a python image?
I’m trying to write a code that detects lines and calculates an angle within a binary image (not necessarily this one, but always a similar spray). I read a few things about Hough Transform and even…
-
0
votes0
answers56
viewsKnow the radius of the circle using the python cv2 library
I need to find the radius of the circle using the cv2 library, I have the following code: What he does is circle where he finds circles within the parameters I set, now I want to know the radius of…
-
0
votes0
answers30
viewsHow to read txt with color palette to apply to another txt with characters?
I need to read the color palette file, something like: . 0 0 64 x 255 255 0 0 0 0 where each symbol in the first column represents the image in another txt file. Where it has ". x o" need to be…
-
0
votes2
answers60
viewsDoubt in python with Opencv
Hello, I need to display a certain area of the image with the borders, using the Canny, and display it on top of the image itself, as in the example below. My code displays the selected area and…
-
-1
votes1
answer59
viewsWhat does offset mean in Pillow?
The method getoffset() class PIL.ImageFont.FreeTypeFont returns a tuple. What exactly are these measurements? I use the Pillow in the version 6.1.0.…
-
-1
votes1
answer24
viewsVGG16: how to use Dense_2 layer as output - python
I am using vgg16 model for feature extraction https://github.com/fchollet/deep-learning-models/blob/master/vgg16.py call the same through function: model = VGG16(include_top=True,…
python classification image-processing model deep-learningasked 4 years, 11 months ago David Jordão 21 -
-1
votes1
answer301
viewsCapture images to create a database
import cv2 import numpy as np classificador = cv2.CascadeClassifier("haarcascade_frontalface_default.xml") classificadorOlho = cv2.CascadeClassifier("haarcascade_eye.xml") camera =…
-
-3
votes1
answer902
viewsPattern Recognition in Python
Good morning, everyone I am developing a work for college in which I need to recognize images with Python, but the teacher wishes that the recognition algorithm does not belong to a bookstore…