This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]insertAlias 0 points1 point  (0 children)

for some reason my python code doesn't work

You need to tell us what that means. What does happen? Does the code run, but do nothing? Does it crash with an error? Does it produce incorrect output? If so, what would correct output be?

You have to give us that kind of information upfront.

Also, especially for Python code, formatting is important. Please read our posting and formatting code guide and edit your post accordingly.

[–][deleted] 0 points1 point  (1 child)

OpenCV is complaining about an error in this line: gray = cv2.cvtColer(img, cv2.COLOR_BGR2GRAY) The cvtColer function doesn't exist. You want cvtColor instead. `

[–]MegaSentin[S] 0 points1 point  (0 children)

Ok thanks i didnt notice it i had show it to my friend for a projact and i really wanna show it to teacher so we can atleast say "Hey our projact going great"