Methods to acquire, analyze and understand images using mathematical approaches.
Questions tagged [vision]
664 questions
0
votes
1 answer
Captured image viewpoint changing
i have a picture that captured from a fixed position [X Y Z] and angle [Pitch Yaw Roll] and a focal length of F (i think this information is called camera matrix)
i want to change the captured picture to a different position like it was taken in…

mefmef
- 665
- 2
- 11
- 23
0
votes
1 answer
OpenCV: Using cvGoodFeaturesToTrack with C++ mat variable
I am trying to use the cvGoodFeatureToTrack function in Visual Studio 2010 with the image type as Mat. Most of the examples I have seen use the IplImage pointer.
Right now I have this:
int w, h; // video frame size
Mat grayFrame;
Mat eigImage;
Mat…

Inderpreet Singh
- 45
- 1
- 2
- 9
0
votes
1 answer
Detect if page is in frame of webcam
I want to scan some documents and I want to know when a page is "in the frame" of the camera. What I mean by this is the optimal distance from camera to page document (but without cutting any of the document). I want to run the detection program in…

John Kornick
- 301
- 1
- 6
- 14
-1
votes
1 answer
How can Vision be used to identify visible face landmarks?
I've been using Vision to identify Facial Landmarks, using VNDetectFaceLandmarksRequest.
It seems that whenever a face is detected, the resulting VNFaceObservation will always contain all the possible landmarks, and have positions for all of them.…

ElFitz
- 908
- 1
- 8
- 26
-1
votes
1 answer
Does labelled data need to be marked as verified for YOLOv5
I have a labelled dataset that I haven't exported yet. I can flag each image as verified. But do I need to do this or is it optional? I saw this option sync across several labelling software.
I've mostly labelled the dataset but I am scared that the…
-1
votes
1 answer
Is there a differentiable algorithm for image quantization?
I am implementing an autoencoder, used to rebuild color images. The loss function I want to use requires a reduced color set (max ~100 different colors) but I am struggling to find a suitable differentiable algorithm.
Another doubt I have is the…

Simone Berasi
- 19
- 3
-1
votes
1 answer
Read and extract keypoints from folder of videos opencv
I have a list of videos (10 sec each) in a folder and I'm trying to loop through each action video to extract keypoints and save them as json files.
path = "path to video folder"
for file in os.listdir(path):
cap = cv2.VideoCapture(path+file)
…

hishan lu
- 1
- 1
-1
votes
1 answer
Python, calculate histogram of an HSV image, ignoring the background
I'm trying to compute the histogram of an HSV image with openCV, with the following code:
def istogrammaHSV(image,histSize):
hsv_planes= cv2.split(image)
histSize= histSize
histRange= (0,256)
accumulate=False
h_hist =…

Mario Turco
- 29
- 5
-1
votes
1 answer
Aligning similar images with selected area from reference image
I have 4 taken photo same object with different angles. And i can play orderly on imageview like gif. But i noticed i need to align (focus) images on one focus point. Some app can make that, but i cant find solution how can i do. I shared example…

Vileriu
- 25
- 4
-1
votes
1 answer
Reading files with .h5 format and using it in dataset
I have two folders( one for train and one for test) and each one has around 10 files in h5 format. I want to read them and use them in a dataset. I have a function to read them, but I don't know how I can use it to read the file in my class.
def…

Aysan
- 23
- 4
-1
votes
1 answer
IndexError: list index out of range use google vision
import io
import os
os.environ["GOOGLE_APPLICATION_CREDENTIALS"]="future-shuttle-323208-1e6aebdb018d.json"
# Imports the Google Cloud client library
from google.cloud import vision
from PIL import Image
import cv2
write1=[]
write2=[]
for i…

陳昱廷
- 25
- 1
- 5
-1
votes
1 answer
Create patches from 3d images for training
I have (320x1280x1280) 320 image slices. I want to train network but have limited data, For this i need to create image patches from original images so that i can effectively train the network. How i can do it in python? and what could be any other…

Ali
- 1
- 1
-1
votes
2 answers
Putting loading animation over VNDocumentViewController Swift
Is it possible to put a loading animation over the VNDocumentViewController? As in, when the user presses the Save button, is there a way for me to somehow indicate that the Vision is processing the image and hasn't frozen? Right now, in my app,…

rice888
- 51
- 8
-1
votes
1 answer
CIDetector to detect any objects bounding box
Imagine having an array of images like these
Background is always white(even in the 3rd pic, main object there is that big brown rectangle with shapes inside)
No matter of given type of the image you would need to:
1) find main object boundary…

Farkhad Gojazadeh
- 96
- 5
-1
votes
1 answer
What libraries can adjust exposure with Opencv?
I'm trying to adjust the exposure of a Microsoft LifeCam HD 3000 with Opencv3, but (CV_CAP_PROP_GAIN, value from 0 to 1) it has does not work. Are there any other libraries that work with Opencv to adjust the exposure of a camera?

MZP
- 51
- 1
- 5