Ask Your Question

HotSince7cc's profile - activity

2018-10-19 13:42:59 -0600 received badge  Famous Question (source)
2018-06-04 03:16:37 -0600 received badge  Notable Question (source)
2018-04-06 14:59:01 -0600 received badge  Popular Question (source)
2017-10-26 03:14:17 -0600 marked best answer Why does cv2.selectROI in python is not working as expected?

Hi, I'm using OpenCV 3.3.0-dev with Python 3.5
I'm trying to make use of the function with the following example:

import cv2
img = cv2.imread('starwars.jpg')

r = cv2.selectROI("Image", img, False, False)

cv2.imshow('image', r)

cv2.waitKey(0)
cv2.destroyAllWindows()

It gives me some irrelevant white space image(It doesn't let me upload a screenshot here)
The output is this thing -> (138, 165, 263, 224) when you print it on the console

Do I need the contrib modules for Python or? The cv.cv2.selectROI method is stated in the High-level GUI module.

2017-10-26 03:14:17 -0600 received badge  Scholar (source)
2017-10-26 03:14:07 -0600 commented answer Why does cv2.selectROI in python is not working as expected?

Thanks, this is what I need. If you can just edit: cropped = img[y,y+h : x,x+w] -> to cropped = img[y: y + h, x: x

2017-10-26 03:13:45 -0600 commented answer Why does cv2.selectROI in python is not working as expected?

Thanks, this is what I need. If you can just edit: cropped = img[y,y+h : x,x+w] -> to cropped = img[y: y + h, x: x

2017-10-26 03:09:46 -0600 received badge  Supporter (source)
2017-10-25 10:39:46 -0600 asked a question Why does cv2.selectROI in python is not working as expected?

Why does cv.cv2.selectROI in python is not working as expected? Hi, I'm using OpenCV 3.3.0-dev with Python 3.5 I'm tryin

2017-10-18 03:36:37 -0600 commented question Trying to run the dnn module's python sample with tensorflow model

Yup, you are right it is a configuration problem, I had some other path setup to another version of opencv, sorry for be

2017-10-18 02:12:03 -0600 asked a question Trying to run the dnn module's python sample with tensorflow model

Trying to run the dnn module's python sample with tensorflow model Hi, have someone tried running this sample from openc

2017-10-17 05:46:46 -0600 commented answer import cv2 leads to "segmentation fault"

It worked. Thanks. I built it without the contrib module. What is wrong with it, just curious? Any idea?

2017-10-17 05:46:34 -0600 commented answer import cv2 leads to "segmentation fault"

It worked. Thanks. I built it without the contrib module. What is wrong with the it, just curious? Any idea?

2017-10-17 05:45:38 -0600 commented answer import cv2 leads to "segmentation fault"

It worked. Thanks. I built it without the contrib module. What is wrong with the contrib module, just curious? Any idea?

2017-10-16 15:18:51 -0600 commented answer import cv2 leads to "segmentation fault"

Yup, I have it.

2017-10-16 06:01:06 -0600 answered a question import cv2 leads to "segmentation fault"

Hi, I get the following output: (gdb) run -c "import cv2" Starting program: /usr/bin/python3 -c "import cv2" [Threa

2017-10-12 12:34:32 -0600 answered a question What is the best way to create a simple GUI with embedded video frame and some buttons? I'm using Python and OpenCV 3.3

At the end I used Tkinter. It works quite well. I used and modified the code from this post: https://stackoverflow.com/

2017-10-05 06:52:18 -0600 received badge  Enthusiast
2017-09-28 06:32:31 -0600 received badge  Editor (source)
2017-09-28 06:32:31 -0600 edited question What is the best way to create a simple GUI with embedded video frame and some buttons? I'm using Python and OpenCV 3.3

What is the best way to create a simple GUI with embedded video frame and some buttons. I'm using Python and OpenCV 3.3

2017-09-28 03:35:26 -0600 asked a question What is the best way to create a simple GUI with embedded video frame and some buttons? I'm using Python and OpenCV 3.3

What is the best way to create a simple GUI with embedded video frame and some buttons. I'm using Python and OpenCV 3.3