deep-anpr icon indicating copy to clipboard operation
deep-anpr copied to clipboard

Import tensorflow and opencv at the same time?

Open fangyan93 opened this issue 8 years ago • 3 comments

Hello, I am working a similar project currently for interests. I am wondering if my understanding of usage is correct. For detection, the detection.py should be run under opencv virtual environment, as for training, the code should be run under tensorflow environment. But in the detection.py, the tensorflow and opencv are imported at the same time. I am a little confused with this.

fangyan93 avatar Apr 02 '17 19:04 fangyan93

Hi,

I am using built opencv whl from here : http://www.lfd.uci.edu/~gohlke/pythonlibs/ Both can be used without any conflict in windows 10 64bit.

sapeyes avatar Apr 07 '17 01:04 sapeyes

I am getting following error: pt1 = tuple(reversed(map(int, pt1)))

TypeError: argument to reversed() must be a sequence

any help please?

guddulrk avatar Apr 10 '17 09:04 guddulrk

pt1 = tuple(reversed(list(map(int, pt1))))

sourabh2k15 avatar Apr 14 '17 07:04 sourabh2k15