Ask Your Question

masterenol's profile - activity

2020-08-15 10:35:31 -0500 received badge  Famous Question (source)
2020-06-10 20:41:46 -0500 received badge  Notable Question (source)
2020-02-24 22:53:28 -0500 received badge  Popular Question (source)
2020-02-06 11:22:21 -0500 received badge  Notable Question (source)
2019-11-23 12:38:15 -0500 received badge  Famous Question (source)
2019-10-26 19:21:10 -0500 edited question MSI Workstation Laptop or MSI Gaming Laptop for best color tracking and Unreal Engine performance?

MSI Workstation Laptop or MSI Gaming Laptop for best color tracking and Unreal Engine performance? I intend to use the

2019-10-26 19:20:21 -0500 edited question MSI Workstation Laptop or MSI Gaming Laptop for best color tracking and Unreal Engine performance?

MSI Workstation Laptop or MSI Gaming Laptop for best color tracking and Unreal Engine performance? I intend to use the

2019-10-26 19:18:13 -0500 asked a question MSI Workstation Laptop or MSI Gaming Laptop for best color tracking and Unreal Engine performance?

MSI Workstation Laptop or MSI Gaming Laptop for best color tracking and Unreal Engine performance? I intend to use the

2019-09-09 13:07:07 -0500 received badge  Popular Question (source)
2019-06-29 16:52:14 -0500 received badge  Notable Question (source)
2019-06-22 05:46:17 -0500 received badge  Notable Question (source)
2019-06-15 20:05:07 -0500 asked a question How to process OpenCV C++ data on a cloud?

How to process OpenCV C++ data on a cloud? I have OpenCV code in C++ with a list of contours that I want to have process

2019-03-21 14:53:34 -0500 received badge  Popular Question (source)
2019-02-04 01:57:40 -0500 received badge  Popular Question (source)
2018-07-27 19:44:59 -0500 commented question What is Point2f and Point3f?

@Eduardo Thank you for this info, but I'm still very confused. What advantage does storing X and Y coordinates in this P

2018-07-27 02:49:16 -0500 asked a question What is Point2f and Point3f?

What is Point2f and Point3f? I'm seeing these 'Point2f' and 'Point3f' keywords in the OpenCV C++ docs, but my C++ books

2018-07-14 20:35:28 -0500 commented question My Python code shows webcam, buy my C++ does not.

Thanks for your response berak. My Visual Studio did not recognize the keyword 'set', but I did get the webcam to show b

2018-07-14 20:34:38 -0500 commented question My Python code shows webcam, buy my C++ does not.

Thanks for your response berak. My Visual Studio did not recognize the keyword 'set', but I did get the webcam to show b

2018-07-13 20:26:48 -0500 asked a question My Python code shows webcam, buy my C++ does not.

My Python code shows webcam, buy my C++ does not. Here is my Python 3 code that properly displays my webcam: import num

2018-06-18 22:09:04 -0500 asked a question What's the best way to record audio on a live webcam feed?

What's the best way to record audio on a live webcam feed? Running Python 3 and OpenCV on Windows 10. I have a Python

2018-05-18 00:20:01 -0500 commented question Is OpenCV for Python or C++ a good library to use for detecting the blinking rate/frequency of an LED diode lights?

@berak. If my understanding is correct, the numeric value of the frames per second of a webcam (30 for example) is equal

2018-05-18 00:19:01 -0500 commented question Is OpenCV for Python or C++ a good library to use for detecting the blinking rate/frequency of an LED diode lights?

@berak. If my understanding is correct, the numeric value the frames per second of a webcam (30 for example) is equal to

2018-05-17 20:11:05 -0500 commented question Is OpenCV for Python or C++ a good library to use for detecting the blinking rate/frequency of an LED diode lights?

@LBerger, thanks!

2018-05-17 04:03:03 -0500 commented question Is OpenCV for Python or C++ a good library to use for detecting the blinking rate/frequency of an LED diode lights?

This is an interesting response berak, thank you.

2018-05-17 04:02:35 -0500 commented question Is OpenCV for Python or C++ a good library to use for detecting the blinking rate/frequency of an LED diode lights?

This is an interesting response, thank you.

2018-05-17 03:38:07 -0500 asked a question Is OpenCV for Python or C++ a good library to use for detecting the blinking rate/frequency of an LED diode lights?

Is OpenCV for Python or C++ a good library to use for detecting the blinking rate/frequency of an LED diode lights? In

2018-05-11 21:04:08 -0500 commented question Detect Slow Gradual Change in Background with Live Video and Python 3?

Hello sjhalayka. So I'm thinking I can do something like: absdiff(initialFrame, currentFrame) . Is this correct?

2018-05-11 20:37:59 -0500 asked a question Detect Slow Gradual Change in Background with Live Video and Python 3?

Detect Slow Gradual Change in Background with Live Video and Python 3? Hello everyone. How can I go about detecting slow

2018-04-10 02:31:10 -0500 commented question How to read a mouse left click event in python?

Not quite. I needed the code to work while using live video capture. I made progress by adding 'drawing = False' followe

2018-04-10 02:28:15 -0500 edited question How to read a mouse left click event in python?

How to read a mouse left click event in python? For example, I would like to make a code like this: while True: [...]

2018-04-10 01:50:42 -0500 edited question How to read a mouse left click event in python?

How to read a mouse left click event in python? For example, I would like to make a code like this: while True: [...]

2018-04-10 01:49:37 -0500 edited question How to read a mouse left click event in python?

How to read a mouse left click event in python? For example, I would like to make a code like this: while True: [...]

2018-04-10 01:47:58 -0500 commented question How to read a mouse left click event in python?

berak, I did read the tutorial. I'm modifying the code in the tutorial to make it work according to my needs. This code

2018-04-10 01:46:35 -0500 received badge  Citizen Patrol (source)
2018-04-10 01:46:10 -0500 commented question How to read a mouse left click event in python?

berak, I did read the tutorial. I'm modifying the code in the tutorial to make it work according to my needs. This code

2018-04-10 01:45:36 -0500 commented question How to read a mouse left click event in python?

berak, I did read the tutorial. I'm modifying the code in the tutorial to make it work according to my needs. This code

2018-04-10 01:45:19 -0500 commented question How to read a mouse left click event in python?

berak, I did read the tutorial. I'm modifying the code in the tutorial to make it work according to my needs. This code

2018-04-10 01:29:53 -0500 edited question How to read a mouse left click event in python?

How to read a mouse left click event in python? For example, I would like to make a code like this: while True: [...]

2018-04-10 01:22:32 -0500 asked a question How to read a mouse left click event in python?

How to read a mouse left click event in python? For example, I would like to make a code like this: while True: [...]

2018-03-13 23:00:56 -0500 asked a question Create a new frame that contains common images from two other frames?

Create a new frame that contains common images from two other frames? For example, I have two frames for a calendar im

2018-02-28 12:12:19 -0500 marked best answer In Python, is there a method or operator to determine if a frame is empty or an all zero-matrix?

For example, I would like to finish this code:

import cv2
import numpy as np

cap = cv2.VideoCapture(0)

while True:
    ret, frame = cap.read()

    if # frame is empty or all zeros #:
        print("Empty Frame")
    else:
        cv2.imshow('frame',frame)

    if cv2.waitKey(33) & 0xFF == ord('q'):
            break

cv2.destroyAllWindows()

The line, 'if # frame is empty or all zeros #:', is there an operator I can use to determine if a frame is empty?

2018-02-28 02:12:58 -0500 edited question In Python, is there a method or operator to determine if a frame is empty or an all zero-matrix?

In Python, is there a method or operator to determin is a frame is empty or an all zero-matrix? For example, I would lik

2018-02-28 02:12:26 -0500 asked a question In Python, is there a method or operator to determine if a frame is empty or an all zero-matrix?

In Python, is there a method or operator to determin is a frame is empty or an all zero-matrix? For example, I would lik

2018-02-27 21:37:53 -0500 asked a question Is there a limit to frames per second for a composite usb video capture device?

Is there a limit to frames per second for a composite usb video capture device? I ran a code which seems to have increas

2018-02-15 14:31:51 -0500 marked best answer Select HSV Hue from -30 to 30 in Python?

image description The color wheel shown has a Hue Range of 0 to 179 I believe. I wish to black out the colors with hue range of -30 to 30 as shown in the right color wheel. Unfortunately, I tried the following number sets for 'lower_hsv' and 'upper_hsv', but they do not work:

20,-20: "error: list index out of range"

-20,20: only blacks out range 0 to 20.

20,160: blacks out everything except what I wanted blacked out.

160,20: "error: list index out of range"

Can someone please tell me how I can get the image to display as shown on the right color wheel? I will need to black out several different colors on a different image.

import cv2
import numpy as np


image = cv2.imread("hsvColorCircle.png")
imageHSV = cv2.cvtColor(image, cv2.COLOR_BGR2HSV)
image_lower_hsv = np.array([0, 200, 220])
image_upper_hsv = np.array([20, 255, 255])
imageMask = cv2.inRange(imageHSV, image_lower_hsv, image_upper_hsv)
_2, imageMaskContours, imageMaskHierarchy = cv2.findContours(imageMask, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
imageCNT = imageMaskContours[0]
imageIndex = -1
imageThickness = 4
imageColor = (0, 0, 0)
cv2.drawContours(image,imageMaskContours,imageIndex,imageColor,-1)
imageResize = cv2.resize(image,(640,480))
cv2.imshow('image', imageResize)

cv2.waitKey(0)
cv2.destroyAllWindows

image description

C:\fakepath\hsvColorCircle.png

2018-02-15 03:04:22 -0500 commented answer Select HSV Hue from -30 to 30 in Python?

Cool, thanks!

2018-02-15 00:43:47 -0500 edited question Select HSV Hue from -30 to 30 in Python?

Select HSV Hue from -30 to 30 in Python? The color wheel shown has a Hue Range of 0 to 179 I believe. I wish to black o

2018-02-15 00:41:57 -0500 edited question Select HSV Hue from -30 to 30 in Python?

Select HSV Hue from -30 to 30 in Python? The color wheel shown has a Hue Range of 0 to 179 I believe. I wish to black o

2018-02-15 00:40:49 -0500 edited question Select HSV Hue from -30 to 30 in Python?

Select HSV Hue from -30 to 30 in Python? The color wheel shown has a Hue Range of 0 to 179 I believe. I wish to black o