I am new to python and openCV. I am using Python 3.4 and opencv(64 bits). My question is about property identifier parameters such as CV_CAP_PROP_FRAME_WIDTH, or CV_CAP_PROP_FRAME_HEIGHT for video capture. The full documentation for this is here: http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html?highlight=get#cv2.VideoCapture.get. My program works fine when I hard code these numbers in but it does not recognize any of the terms given in the documentation. I read some earlier posts that these were available in cv but are not available in cv2 library. Has there been any updates? I can not find anything else here... I don't like using hard-coded numbers. I have the same problem with cv2.namedWindow flags like CV_WINDOW_NORMAL. I read that I must have import cv2.cv as cv but I get this error: ImportError: No module named 'cv2.cv'; 'cv2' is not a package.
Any advice? Thanks in advance.