Ask Your Question

pipeecs780's profile - activity

2020-02-16 03:02:21 -0600 received badge  Famous Question (source)
2019-03-12 03:07:53 -0600 received badge  Notable Question (source)
2019-01-03 16:41:20 -0600 commented question Resolve delay between real image vs projector image using opencv.

My goal is to superpose the image over the hand, that's why i need to calibrate the image. In the second image, if you s

2018-12-28 18:55:16 -0600 edited question Resolve delay between real image vs projector image using opencv.

Resolve delay between real image vs projector image using opencv. Hello, I'm working in my final project using opencv wi

2018-12-28 18:53:25 -0600 asked a question Resolve delay between real image vs projector image using opencv.

Resolve delay between real image vs projector image using opencv. Hello, I'm working in my final project using opencv wi

2018-09-05 10:52:13 -0600 received badge  Popular Question (source)
2018-08-20 17:45:06 -0600 asked a question I this the right way to get a ROI and inside of it do the processing?

I this the right way to get a ROI and inside of it do the processing? Hello! I'm tryng to do the image processing inside

2018-08-14 19:22:40 -0600 commented question Image gets rescaling after normalize using opencv and scikit-image

Because cv2.normalize(img, None, alpha=0, beta=1, norm_type=cv2.NORM_MINMAX, dtype=cv2.CV_32F). When alpha its 0 and be

2018-08-14 19:21:59 -0600 edited question Image gets rescaling after normalize using opencv and scikit-image

Image gets rescaling after normalize using opencv and scikit-image Hello, I'm tryng to combine OPENCV and scikit-image t

2018-08-14 17:40:21 -0600 asked a question Image gets rescaling after normalize using opencv and scikit-image

Image gets rescaling after normalize using opencv and scikit-image Hello, I'm tryng to combine OPENCV and scikit-image t

2018-08-01 15:31:21 -0600 edited question Problems in the image after apply CLAHE during vein detection.

Problems in the image after apply CLAHE during vein detection. Hello, I'm currently working in a project in that I have

2018-08-01 15:31:07 -0600 edited question Problems in the image after apply CLAHE during vein detection.

Problems on the image after apply CLAHE Hello, I'm currently working in a project in that I have to do a vein detector u

2018-08-01 15:25:55 -0600 edited question Problems in the image after apply CLAHE during vein detection.

Problems on the image after apply CLAHE Hello, I'm currently working in a project in that I have to do a vein detector u

2018-08-01 15:23:12 -0600 asked a question Problems in the image after apply CLAHE during vein detection.

Problems on the image after apply CLAHE Hello, I'm currently working in a project in that I have to do a vein detector u

2018-07-23 15:15:59 -0600 commented answer How can apply this fuzzy histogram hyperbolazation to OPENCV

hahahaha don't worry. Thank you for responding :)

2018-07-22 20:53:16 -0600 received badge  Famous Question (source)
2018-06-12 15:17:04 -0600 edited question How can apply this fuzzy histogram hyperbolazation to OPENCV

How can apply this fuzzy histogram hyperbolazation to OPENCV Hello, I found a paper that talks about image enhacement us

2018-06-11 16:02:23 -0600 commented question unknown noise during capture for vein detection

They are waves hahaha, but with my teacher we called noise. But why it happened? it is for CLAHE?

2018-06-11 15:48:17 -0600 edited question How can apply this fuzzy histogram hyperbolazation to OPENCV

How can apply this fuzzy histogram hyperbolazation to OPENCV Hello, I found a paper that talks about image enhacement us

2018-06-11 15:45:34 -0600 edited question How can apply this fuzzy histogram hyperbolazation to OPENCV

How can apply this fuzzy histogram hyperbolazation to OPENCV Hello, I found a paper that talks about image enhacement us

2018-06-11 15:45:01 -0600 asked a question How can apply this fuzzy histogram hyperbolazation to OPENCV

How can apply this fuzzy histogram hyperbolazation to OPENCV Hello, I found a paper that talks about image enhacement us

2018-06-11 15:30:55 -0600 commented question unknown noise during capture for vein detection

Yes, inside the red region. With my teacher we think It can be the webcam, after I remove the IR filter. But i'm not 100

2018-06-08 17:27:40 -0600 asked a question unknown noise during capture for vein detection

unknown noise during capture for vein detection Hello, I'm currently working in a project in that I have to do a vein de

2018-06-08 17:27:38 -0600 asked a question unknown noise during capture for vein detection

unknown noise during capture for vein detection Hello, I'm currently working in a project in that I have to do a vein de

2018-05-22 15:57:42 -0600 asked a question Background subtraction for vein detection

Background subtraction for vein detection Hello I'm ansking about this topic again, but in another way. I'm currently wo

2018-05-16 00:38:34 -0600 received badge  Enthusiast
2018-05-15 18:14:17 -0600 edited question Creating a mask with roi for vein detection (Python)

Creating a mask with roi for vein detection (Python) Hello I'm currently working in a project in that I have to do a vei

2018-05-15 18:13:25 -0600 asked a question Creating a mask with roi for vein detection (Python)

Creating a mask with roi for vein detection (Python) Hello I'm currently working in a project in that I have to do a vei

2018-05-02 01:21:27 -0600 received badge  Notable Question (source)
2018-03-06 11:55:32 -0600 received badge  Popular Question (source)
2017-12-06 08:51:09 -0600 commented answer Distance between 2 points in opencv (Pixel to cm)

I will try that today, thank you for your help again. And its true, I'm completly newby in opencv hahaha, this is my fir

2017-12-05 08:58:18 -0600 asked a question Distance between 2 points in opencv (Pixel to cm)

Distance between 2 points in opencv (Pixel to cm) Hello, I asked a month about a code that can measure the distance betw

2017-12-05 08:58:16 -0600 asked a question Distance between 2 points in opencv (Pixel to cm)

Distance between 2 points in opencv (Pixel to cm) Hello, I asked a month about a code that can measure the distance betw

2017-12-05 08:58:16 -0600 asked a question Distance between 2 points in opencv (Pixel to cm)

Distance between 2 points in opencv (Pixel to cm) Hello, I asked a month about a code that can measure the distance betw

2017-12-04 08:02:17 -0600 commented question How to measure distance between 2 objects in a video? - Edited

Yes, I would like to measure the distance between the two centers in cm, but I don't know how to get the depth map of my

2017-12-01 15:15:06 -0600 marked best answer How to measure distance between 2 objects in a video? - Edited

Hello My name is Felipe and I'm from Chile. I'm currently making a project with 2 points and measuring the dinstance between them in real time. I know it can be done with images, but I can't find a real solution with videos. I made a mask and then erotionate to recognize the colours that I need. I think that the next step is labeling them, and then get the distance. The two objects I will move them up and down, and I need to measure the distance between them in real time. Here is an image to show how it shows until now.

Pre-Labeling

-------------------------EDIT----------------------------- Now i can recognize an measure "distance" beetween the 2 points, but the values that I get appears to be in pixel values not in cm or inches. I dont know if somebody con confirmate that. MARCADORES Now I have to export that values to a txt or csv file, because I need to send it in real time trough google drive in a spreedsheet. So my questions now if you can help me with export that values in a file, and if is possible to show the values more slow, i mean like one value per second, because it shows so fast, and propably it will be so fast to the spreadsheet. (I hope you can understand my english hahaha) Thank you again to everyone who respond. my code is currently this

import cv2   
import numpy as np

#Captura de video a traves de la webcam
cap=cv2.VideoCapture(0)

while(1):
    d=0.1
    centers=[]
    _, img = cap.read()

    hsv=cv2.cvtColor(img,cv2.COLOR_BGR2HSV) #Se obtiene un histograma basada en las saturaciones de colores.

    blue_lower=np.array([80,150,100],np.uint8)
    blue_upper=np.array([150,255,255],np.uint8)

    blue=cv2.inRange(hsv,blue_lower,blue_upper) #Se crea una mascara utilizando intervalos de color azul.

    kernal = np.ones((5 ,5), "uint8") #Crea una matriz de 5x5 la cual recorrera el video,

    blue=cv2.erode(blue,kernal, iterations=1) #Se erosiona utilizando el kernel sobre la mascara.
    res1=cv2.bitwise_and(img, img, mask = blue) #La nueva imagen reemplazara a blue.


    (_,contours,hierarchy)=cv2.findContours(blue,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE) #Encuentra los contornos de los objetos que se ven en el filtro

    for pic, contour in enumerate(contours):
        area = cv2.contourArea(contour) #funcion de opencv que obtiene los contornos
        if(area>300):
            x,y,w,h = cv2.boundingRect(contour) #Encuentra coordenadas de los contornos.
            img = cv2.rectangle(img,(x,y),(x+w,y+h),(255,0,0),2)
            cv2.putText(img,"Marcador",(x,y),cv2.FONT_HERSHEY_SIMPLEX, 0.7, (255,0,0))


            M = cv2.moments(contour) #Se obtiene el centro de masa de los marcadores enconrados.
            cx = int(M['m10'] /M['m00'])
            cy = int(M['m01'] /M['m00'])
            centers.append([cx,cy])
            cv2.circle(img, (cx, cy), 7, (255, 255, 255), -1)

        if len(centers)==2:
            D = np.linalg.norm(cx-cy) #Se aplica distancia euclidiana para encontrar la distancia entre los centros de ...
(more)
2017-12-01 15:15:06 -0600 received badge  Scholar (source)
2017-12-01 11:28:32 -0600 edited question How to measure distance between 2 objects in a video? - Edited

How to measure distance between 2 objects in a video? Hello My name is Felipe and I'm from Chile. I'm currently making a

2017-12-01 11:14:14 -0600 received badge  Editor (source)
2017-12-01 11:14:14 -0600 edited question How to measure distance between 2 objects in a video? - Edited

How to measure distance between 2 objects in a video? Hello My name is Felipe and I'm from Chile. I'm currently making a

2017-12-01 11:01:32 -0600 answered a question How to measure distance between 2 objects in a video? - Edited

Thank so much for the response! I know its been a while but it has been a hard work semester. I can measure the distance

2017-11-06 08:44:07 -0600 asked a question How to measure distance between 2 objects in a video? - Edited

How to measure distance between 2 objects in a video? Hello My name is Felipe and I'm from Chile. I'm currently making a