Ask Your Question
-1

Visual Studio 2017 doesn't have auto complete (OpenCV and Python) [closed]

asked 2017-09-03 08:15:53 -0600

updated 2017-09-04 00:59:12 -0600

berak gravatar image

I installed whole Python development workload category in Visual Studio 2017 but I have a problem. I don't know if this is a Visual Studio problem or OpenCV library problem or numpy problem. I tried with both 3.3 and 2.4 versions of OpenCV.

Some OpenCV codes work, but for example image.height is unexpected token

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant by berak
close date 2017-09-04 01:11:11.058238

Comments

ps, i removed your useless screenshot's, they only eat other folks bandwidth.

ps, the downvote is for: you don't know, what you're doing at all, thus you blame your tools

berak gravatar imageberak ( 2017-09-03 23:48:45 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-09-04 01:00:04 -0600

berak gravatar image

updated 2017-09-04 01:01:18 -0600

image.height is unexpected token

there's no problem with your silly ide, or the opencv libs, image.height does simply not exist.

(each numpy array has a shape member, use that instead, height would be: image.shape[0])

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-09-03 08:15:53 -0600

Seen: 633 times

Last updated: Sep 04 '17