Ask Your Question

AcrimoniousMirth's profile - activity

2020-06-26 02:12:03 -0500 received badge  Famous Question (source)
2019-09-18 23:38:06 -0500 received badge  Notable Question (source)
2019-02-02 05:24:43 -0500 received badge  Popular Question (source)
2018-03-02 22:27:14 -0500 received badge  Student (source)
2018-03-02 10:39:43 -0500 edited question Can't iterate-open images (SOLVED)

Can't iterate-open images (SOLVED) Hi all, this should be an easy fix (forgive my n00bness, I'm a student and coding is

2018-03-02 10:37:44 -0500 edited question Can't iterate-open images (SOLVED)

Can't iterate-open images Hi all, this should be an easy fix (forgive my n00bness, I'm a student and coding is not my fo

2018-03-02 09:39:41 -0500 asked a question Can't iterate-open images (SOLVED)

Can't iterate-open images Hi all, this should be an easy fix (forgive my n00bness, I'm a student and coding is not my fo

2018-02-24 06:50:39 -0500 commented answer Reading in images, typeError: mat is not numpy nor scalar

@berak no, all the images are of form ximgy.png (or better: %iimg%i.png) and reside in TestPhotos! The readout is correc

2018-02-24 06:49:48 -0500 commented answer Reading in images, typeError: mat is not numpy nor scalar

@berak no, all the images are of form ximgy.png and reside in TestPhotos! The readout is correct.

2018-02-24 06:32:57 -0500 commented answer Reading in images, typeError: mat is not numpy nor scalar

@berak my bad, I didn't think I'd have to yet because the images are all of the same type, same name format and all have

2018-02-24 04:42:26 -0500 commented answer Reading in images, typeError: mat is not numpy nor scalar

@berak okay, I gave that a shot, inserted imread into the loop and changed imshow to read image instead of img and ended

2018-02-24 02:48:31 -0500 commented answer Reading in images, typeError: mat is not numpy nor scalar

Hi @berak. Yes, I assumed so. I’m not sure which layer of loop to put it in to ensure it’s reading the correct image. Sh

2018-02-24 02:47:55 -0500 commented answer Reading in images, typeError: mat is not numpy nor scalar

Hi @berak. Yes, I assumed so. I’m not sure high layer to put it in to ensure it’s reading the correct image. Should it b

2018-02-23 17:28:00 -0500 edited question Reading in images, typeError: mat is not numpy nor scalar

Reading in images wrong? So as part of a larger project here I've got this function meant to iterate through a directory

2018-02-23 17:27:53 -0500 edited question Reading in images, typeError: mat is not numpy nor scalar

Reading in images wrong? So as part of a larger project here I've got this function meant to iterate through a directory

2018-02-23 17:08:09 -0500 asked a question Reading in images, typeError: mat is not numpy nor scalar

Reading in images wrong? So as part of a larger project here I've got this function meant to iterate through a directory

2018-02-15 09:00:49 -0500 commented answer Python equivalent of vector<vector<Point≫?

No harm done, my explanation wasn't very clear :) I'm trying to write each point (plus Z value) to a new array of form

2018-02-15 02:41:07 -0500 commented answer Python equivalent of vector<vector<Point≫?

No, I get that, it seems I communicated my point poorly there. I did not mean that contour[1] == contour[1][0] but that

2018-02-15 02:40:42 -0500 commented answer Python equivalent of vector<vector<Point≫?

No, I get that, it seems I communicated my point poorly there. I did not mean that contour[1] == contour[1][0] but that

2018-02-14 15:39:04 -0500 commented answer (RPi Python) Trouble Understanding findContours & drawContours

Thank you very much! I'll look over that shortly to understand it properly. Your help is very greatly appreciated :)

2018-02-14 15:27:19 -0500 commented answer Python equivalent of vector<vector<Point≫?

2: my printout contour: [[[ 0 0]] [[ 95 0]] [[ 96 1]] ..., [[638 170]] [[639 169]] [[639 0]]] contour[1]: [

2018-02-14 15:17:19 -0500 commented answer Python equivalent of vector<vector<Point≫?

Okay, for some background: My honours project is to create a 3D scanner-Printer hybrid in order to aid in the creation

2018-02-14 12:28:09 -0500 commented answer Python equivalent of vector<vector<Point≫?

EDIT: read above {} as [], still adjusting to the different notations, sorry! It looks like I'm slightly off... what I

2018-02-14 12:18:19 -0500 commented answer Python equivalent of vector<vector<Point≫?

It looks like I'm slightly off... what I said is true but its wrapped in another array, which I assume is meant to repre

2018-02-14 11:33:33 -0500 commented answer Python equivalent of vector<vector<Point≫?

Ok, so c[0] is the "point" level? i.e. the index that holds the X and Y values? Then c[0][0] is accessing the first ind

2018-02-14 11:30:09 -0500 commented answer Python equivalent of vector<vector<Point≫?

Ok, so c[0] is the "point" level? i.e. the index that holds the X and Y values? Then c[0][0] is accessing the first ind

2018-02-14 04:45:44 -0500 marked best answer Python equivalent of vector<vector<Point≫?

Can't seem to find the equivalent of this:

 vector<vector<Point≫vectImage

as written by findContour. Is it vectImage = array{array{Point}}? If so can I:

  • Extract the Points (x and y)
  • Create a similar array: array{array{x,y,z}}
  • Append each Point's x and y values as well as an additional z

I hope I'm on the right track here, forgive my learning curve; I'm relatively new to programming at this level, let alone OpenCV.

Thank you for all the help :)

2018-02-14 04:30:58 -0500 commented answer Python equivalent of vector<vector<Point≫?

@eshirima thank you very very much, that was rather informative to read and I look forward to trying it out when I leave

2018-02-13 16:25:00 -0500 commented answer Python equivalent of vector<vector<Point≫?

Also as a general rule I don't ask the forums till I'm at least 2 pages through google search results, because by then i

2018-02-13 16:22:54 -0500 commented answer Python equivalent of vector<vector<Point≫?

Yes, that's true. And though the code snippet given is different from 80% of the examples given in some way or other (pr

2018-02-13 16:09:57 -0500 asked a question Python equivalent of vector<vector<Point≫?

Python equivalent of vector<vector<point≫?< h3=""> Can't seem to find the equivalent of this: vector<ve

2018-02-13 12:24:07 -0500 asked a question (RPi Python) Trouble Understanding findContours & drawContours

(RPi Python) Trouble Understanding findContours & drawContours Hi, I'm further adapting my code and the idea at this

2018-02-13 09:00:13 -0500 commented question OpenCV Python on RPi, can't seem to iterate through image width

Yeah, I just noticed that. It's odd because the same layout [x,y] worked in C++. I'll try the code you suggested, looks

2018-02-13 08:54:04 -0500 commented question OpenCV Python on RPi, can't seem to iterate through image width

No matter, solved it :) Many thanks!!

2018-02-13 08:52:56 -0500 edited question OpenCV Python on RPi, can't seem to iterate through image width

OpenCV Python on RPi, can't seem to iterate through image width Hi all, Expect to see me here a bit in the next few week

2018-02-13 08:51:39 -0500 commented question OpenCV Python on RPi, can't seem to iterate through image width

Point taken! Thanks for your help. I've debugged right through to some IndexError shown in the edit.

2018-02-13 08:45:25 -0500 received badge  Editor (source)
2018-02-13 08:45:25 -0500 edited question OpenCV Python on RPi, can't seem to iterate through image width

OpenCV Python on RPi, can't seem to iterate through image width Hi all, Expect to see me here a bit in the next few week

2018-02-13 08:37:45 -0500 commented question OpenCV Python on RPi, can't seem to iterate through image width

I read that it returns true or false value from getting the frame here. I'll spend some more time wrapping my head aroun

2018-02-13 08:25:04 -0500 commented answer OpenCV Python on RPi, can't seem to iterate through image width

Okay, so it works this far: def imageToPoints (image): ret, discrImage = cv.threshold (image, 127, 255, 0) heig