First time here? Check out the FAQ!

Ask Your Question

masterenol's profile - activity

Aug 15 '0 received badge  Famous Question (source)
Jun 11 '0 received badge  Notable Question (source)
Feb 25 '0 received badge  Popular Question (source)
Feb 6 '0 received badge  Notable Question (source)
Nov 23 '19 received badge  Famous Question (source)
Oct 27 '19 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

Oct 27 '19 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

Oct 27 '19 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

Sep 9 '19 received badge  Popular Question (source)
Jun 29 '19 received badge  Notable Question (source)
Jun 22 '19 received badge  Notable Question (source)
Jun 16 '19 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

Mar 21 '19 received badge  Popular Question (source)
Feb 4 '19 received badge  Popular Question (source)
Jul 28 '18 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

Jul 27 '18 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

Jul 15 '18 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

Jul 15 '18 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

Jul 14 '18 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

Jun 19 '18 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

May 18 '18 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

May 18 '18 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

May 18 '18 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!

May 17 '18 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.

May 17 '18 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.

May 17 '18 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

May 12 '18 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?

May 12 '18 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

Apr 10 '18 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

Apr 10 '18 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: [...]

Apr 10 '18 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: [...]

Apr 10 '18 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: [...]

Apr 10 '18 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

Apr 10 '18 received badge  Citizen Patrol (source)
Apr 10 '18 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

Apr 10 '18 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

Apr 10 '18 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

Apr 10 '18 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: [...]

Apr 10 '18 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: [...]

Mar 14 '18 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

Feb 28 '18 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?

Feb 28 '18 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

Feb 28 '18 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

Feb 28 '18 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

Feb 15 '18 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

Feb 15 '18 commented answer Select HSV Hue from -30 to 30 in Python?

Cool, thanks!

Feb 15 '18 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

Feb 15 '18 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

Feb 15 '18 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