Opencv

I Set up Opencv with anaconda environment in my system but I got some problems. can anyone help to me for How to set this IDE ?


Last updated:7/12/2018 3:47:48 AM

1 Answers

Prakash nidhi Verma
Prakash nidhi Verma

Set up Opencv with anaconda environment :

Requirement for OpenCV and Anaconda 

– 32- or 64-bit computer.

– For Miniconda—400 MB disk space

– Minimum 3 GB disk space to download and installation

– Windows, macOS or Linux.

– Python 2.7, 3.4, 3.5 or 3.6.

ANACONDA : 

Anaconda is a open source software that contains jupiter, spyder etc that are used for large data processing, data analytics, heavy scientific computing. Anaconda works for R and python programming  language. 

open CV :

 


conda install -c menpo opencv
img = cv2.imread('LOCATION OF THE IMAGE') 
img = cv2.imread('watch.jpg',cv2.IMREAD_GRAYSCALE)
cv2.imshow('image',img) 
imwrite(filename, img) 
cap = cv2.VideoCapture(0) 
cap = cv2.VideoCapture('LOCATION OF THE VIDEO') 
cap.isOpened() 
cap.release() 

Answer