Category "image-processing"

How to read exif metadata from jpg file using only python, without any library?

I am trying to extract exif metadata from jpg file but hit a wall in between. I am following this( https://www.w3.org/Graphics/JPEG/jfif3.pdf ) but not sure if

Estimate average channel intensity of a raw images without using dcraw

I have a pipeline that records images on a raspberry pi, converts them to tiff via dcraw, and then estimates the average intensity for the three channels (RGB).

Fast and Robust Image Stitching Algorithm for many images in Python?

I have a stationary camera which takes photos rapidly of the continuosly moving product but in a fixed position just of the same angle (translation perspective)

How can I draw a circle next to each other with a text in center uisng opencv in python?

I'm trying to draw a concurrent circles of equal radius on top row of image with a text on center of circle. I'm able to draw a single circle on center of imag

translate an image after rotation without using library

I try to rotate an image clockwise 45 degree and translate the image -50,-50. Rotation process works fine:(I refer to this page:How do I rotate an image manuall

Saving and loading image descriptors

I've using ORB/FLANN to compare images and want to save / load image descriptors that come out of FLANN to a file so I can read them in later to compare with an

Rotating a 2D image using change of coordinates and scipy interpolation

I'm trying to rotate my image but it is like my frame does not rotate at all. Here are the following steps of my code: 1 - Create an image of an inclined disk.

How to calculate average pixel intensity inside a laser line in Python?

I am trying to write a code that calculates the speckle contrast of a laser line. Here is an example of an image that I would be analyzing: The image is black w

Use a derived mapping function to modify s?

I've read this entire paper multiple times, and I've found a way to make everything in python... Except this (Article II, section C). They want me to upscale th

How to use DeepFace.detectFace() to actually detect a face in an image?

I am trying to identify and count the number of human faces in a every picture of a folder full of pictures, I am using Deepface to get the job done. I have onl

Is there a way to automatically dewarp/uncurl/flatten warped/distorted scanned document images in C#?

I'm trying to automatically dewarp scanned document images using C#. The Situation: I have images of a 6 page empty form (every page is different). I also have

Is there a way to read and collect EMF image file in python? Can we read a EMF image with OpenCV ? How to convert it in jpg or png?

I am searching for a solution for a long time but couldn't be able to find it. There are more similar qestion-answers but that didn't help me. Basically I have

How to remove cloth from a person using python

My Input Image is this. I need only the face and hair from that image and others will convert to white background including cloth. I used mediapipe's SelfiSegm

How to improve the visibility of numbers on license plate for OCR

I am using easyocr methods to recognize the text on the license plate but the results are not good. I have developed deep learning model which detects license p

Improve edge detection using opencv

so I am working on a project to scan analog photos. The program should detect the edges and crop it automatically. For that I am using Python and OpenCV. My pro

How to detect the exact color of the images using hsv color model and opencv

I have datasets of images of gemstones.I have categorised the gemstones into folders based on their colours.(That is Red, Blue, Pink,Purple,Yellow). What I want

image.Mat in EmguCV is always in BGR format?

My code is all done thinking that the input Mat is in BGR format, so I am wondering if given an Image object in EmguCV, the property Mat from this object is alw

CS50: Filter Edge Returns Mostly White Image

I have been stuck on CS50 Filter - Edges for a few days now, having a hard time determining what's wrong with my code. This code returns an almost all white ima

Particle detection with Python OpenCV

I'm looking for a proper solution how to count particles and measure their sizes in this image: In the end I have to obtain the lists of particles' coordinates

Find Corners of pool table for perspective warp with OpenCV

I have an image of a pool table with slight perspective distortion: I am trying to un-warp the image (such that the corners of the pool table correspond to the