image-processing Questions
2
To get a thumbnail from an image halfway through the video I can do ffmpeg -ss 100 -i /tmp/video.mp4 -frames:v 1 -s 200x100 image.jpg. By using -ss 100 it gets a thumbnail at 100 seconds (which wou...
Ungraceful asked 12/1, 2017 at 10:2
7
Solved
How to smooth the edges of this binary image of blood vessels obtained after thresholding.
I tried a method somewhat similar to this method but did not quite get the result I expected.
Here...
Outdoors asked 24/5, 2016 at 9:40
9
Solved
I am using python-tesseract to extract words from an image. This is a python wrapper for tesseract which is an OCR code.
I am using the following code for getting the words:
import tesseract
api...
Iatric asked 30/12, 2013 at 0:15
5
Solved
I am making a script that repairs scanned documents and i now need a way to detect the image orientation and rotate the image so its rotation is correct.
Right now my script is unreliable and isn'...
Mush asked 2/7, 2019 at 13:58
6
Solved
I've got a JPEG image which was taken on an iphone. On my desktop PC (Windows Photo Viewer, Google Chrome, etc) the orientation is incorrect.
I'm working on an ASP.NET MVC 3 web application where ...
Cannonball asked 3/6, 2011 at 1:15
5
Solved
I would like to know how to write a function in Python 3 using OpenCV which takes in an image and a threshold and returns either 'dark' or 'light' after heavily blurring it and reducing quality (fa...
Iatrics asked 25/9, 2018 at 20:5
5
PdfImage requires Uint8List as param but I have ImageProvider. So how can we convert image to uint8list in flutter?
var imageProvider = AssetImage('assets/test.jpg');
final image = PdfImage(
pdf...
Juna asked 30/7, 2019 at 4:40
5
Solved
I am using the Go resize package here: https://github.com/nfnt/resize
I am pulling an Image from S3, as such:
image_data, err := mybucket.Get(key)
// this gives me data []byte
After that, I nee...
Exculpate asked 8/4, 2014 at 14:55
2
I'm wondering what would be the easiest way to generate a 1D gaussian kernel in python given the filter length. I think that the idea is to evaluate the normal distribution for the values of the ve...
Trinitarianism asked 16/2, 2013 at 23:0
5
Solved
I have a project of opencv where on the frame I am displaying some text using cv2.putText(). Currently it looks like below:
As you can see on the top left corner, the text is present but its not...
Matthews asked 13/3, 2020 at 16:59
4
Solved
I am trying to convert an image in EMF format to PNG using Imagemagick on Red Hat Enterprise Linux Server release 5.5 (Tikanga), but I am running into the following error:
convert: no decode del...
Buttermilk asked 25/2, 2013 at 9:3
20
Solved
Currently in an Android application that I'm developing I'm looping through the pixels of an image to blur it. This takes about 30 seconds on a 640x480 image.
While browsing apps in the Android M...
Reduplicative asked 14/1, 2010 at 22:14
5
Solved
I've tried using the pyautogui module and i's function that locates an image on the screen
pyautogui.locateOnScreen()
but it's processing time is about 5-10 seconds. Is there any other way for ...
Perr asked 23/3, 2017 at 10:49
3
Can you give me a quick definition of rho and theta parameters in OpenCV's HoughLines function
void cv::HoughLines ( InputArray image,
OutputArray lines,
double rho,
double theta,
int threshold...
Flam asked 10/11, 2016 at 15:39
5
Solved
I'm using ImageMagick from the command line to resize images:
convert -size 320x240 image.jpg
However, I don't know how to determine the size of the final image. Since this is a proportional ima...
Tormoria asked 12/10, 2009 at 16:21
4
I am working on a video processing project which needs some flipping of frame. I tried using cvFlip but doesnt seem to flip along y axis (x axis working...) and results in segmentation fault. Is th...
Handwork asked 17/2, 2013 at 10:44
6
Solved
minAreaRect in OpenCV returns a rotated rectangle. How do I crop this part of the image which is inside the rectangle?
boxPoints returns the co-ordinates of the corner points of the rotated recta...
Chubby asked 12/5, 2016 at 5:14
2
Solved
The code below brings the text in the center of x, but i don't know how to calculate the center for the y coordinate... it is not (imgH-h)/2!
(The right y-coordinate is -80)
from PIL import Image...
Replete asked 23/11, 2019 at 13:48
4
I want to reduce the file size of a PNG file using Python. I have gone through a lot of material on the internet, but I could not find anything where I would reduce the file size for an image witho...
Opiumism asked 7/2, 2019 at 9:55
11
Solved
I cloned a project about real-time image processing on a web browser from this link:
Then I could not allow my browser to access my camera.
I got this javascript alert:
Uh-oh, the webcam didn't ...
Donnie asked 30/5, 2013 at 11:53
5
I have a rectangle image, and I would like to round its corners and then add a black border to it (so the border is also round).
Is there an easy way to achieve it?
That'd be the desired output:
...
Globate asked 24/2, 2020 at 19:50
3
I have one mask:
According to this method
After coding, I get the result as below:
Since this is a new circular shape rather than a straight line, measuring the width using the rotation method ab...
Police asked 1/1 at 10:36
2
Solved
I don't really follow how they came up with the derivative equation. Could somebody please explain in some details or even a link to somewhere with sufficient math explanation?
Laplacian filter ...
Fiester asked 29/11, 2018 at 17:57
1
Solved
I am trying to import PySpin in Visual Studio to be able to work with Flir's camera but every time I encounter this:
"No module named 'PySpin'"
And when I try the Pip install PySpin, no...
Revolutionist asked 22/12, 2023 at 15:48
5
Solved
How to convert a 24 Bit PNG to 3 Bit PNG using Floyd–Steinberg dithering? java.awt.image.BufferedImage should be used to get and set RGB values.
On wikipedia, an example is given on how to conver...
Partridgeberry asked 9/5, 2011 at 17:9
© 2022 - 2024 — McMap. All rights reserved.