2018-07-17 05:17:53 -0600 | received badge | ● Student (source) |
2017-02-15 16:35:07 -0600 | commented answer | Grab second largest contour from max() Could I see a working example of this? Like how do I change my code to match this? |
2017-02-14 19:36:08 -0600 | received badge | ● Editor (source) |
2017-02-14 19:34:57 -0600 | asked a question | Grab second largest contour from max() I'm completely new to OpenCV and Python (Java Developer) so It'd be much appreciated if detailed instructions were included. Thanks. Okay, My goal is to grab two contours (same color) that are the largest contour and the second largest contour AND OR the same size contour. How would I go about this? EDIT: Also as a note, my current code grabs the biggest contour and the smallest contour. |
2017-02-10 06:07:30 -0600 | received badge | ● Scholar (source) |
2017-02-09 20:08:23 -0600 | commented answer | IndexError at cv2.minAreaRect(contours[0]) After implementing it, nothing happens. No display, no print. It just blanks. Not even an error message. http://pastebin.com/raw/beKBj5bD |
2017-02-09 14:11:40 -0600 | asked a question | IndexError at cv2.minAreaRect(contours[0]) I keep getting an IndexError at cv2.minAreaRect and my screen only displays a white screen. I'm new to python (java developer) I have absolutely no idea what's going on. Some help would be greatly appreciated! Code is running on a Raspberry Pi3 connecting to an IP Camera. Can successfully connect to camera via browser. Also I'm trying to detect the green color range so no idea how HSV ranges work. PS: Sorry about the ugly formatting, pasting from eclipse to here breaks everything. I can't post a pastebin link either. |