ilikecats567 / pyopencv

Automatically exported from code.google.com/p/pyopencv
0 stars 0 forks source link

"fromarray" doesn't exist as an attribute for cv #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install opencv 2.1 and run the pyopencv installer for windows 32 & python 2.6
2. try to convert a numpy array to a cv array using cv.fromarray
3.

What is the expected output? What do you see instead?
I get the error message: AttributeError: 'module' object has no attribute 
'fromarray'

What version of the product are you using? On what operating system?
opencv 2.1, pyopencv for python 2.6, windows xp

Please provide any additional information below.
when i do dir(cv) the attribute is not listed. This is what I get:

IDLE 2.6.5      
>>> import cv
>>> dir(cv)
['16SC', '16UC', '32FC', '32SC', '64FC', '8SC', '8UC', 'Abs', 'AbsDiff', 
'AbsDiffS', 'Acc', 'AdaptiveThreshold', 'Add', 'AddS', 'AddWeighted', 'And', 
'AndS', 'ApproxChains', 'ApproxPoly', 'ArcLength', 'Avg', 'AvgSdv', 
'BackProjectPCA', 'BoundingRect', 'BoxPoints', 'CMP', 'CV_16S', 'CV_16SC', 
'CV_16SC1', 'CV_16SC2', 'CV_16SC3', 'CV_16SC4', 'CV_16U', 'CV_16UC', 
'CV_16UC1', 'CV_16UC2', 'CV_16UC3', 'CV_16UC4', 'CV_32F', 'CV_32FC', 
'CV_32FC1', 'CV_32FC2', 'CV_32FC3', 'CV_32FC4', 'CV_32S', 'CV_32SC', 
'CV_32SC1', 'CV_32SC2', 'CV_32SC3', 'CV_32SC4', 'CV_64F', 'CV_64FC', 
'CV_64FC1', 'CV_64FC2', 'CV_64FC3', 'CV_64FC4', 'CV_8S', 'CV_8SC', 'CV_8SC1', 
'CV_8SC2', 'CV_8SC3', 'CV_8SC4', 'CV_8U', 'CV_8UC', 'CV_8UC1', 'CV_8UC2', 
'CV_8UC3', 'CV_8UC4', 'CV_AA', 'CV_ADAPTIVE_THRESH_GAUSSIAN_C', 
'CV_ADAPTIVE_THRESH_MEAN_C', 'CV_ARRAY', 'CV_AUTOSTEP', 'CV_BACK', 
'CV_BGR2BGR555', 'CV_BGR2BGR565', 'CV_BGR2BGRA', 'CV_BGR2GRAY', 'CV_BGR2HLS', 
'CV_BGR2HSV', 'CV_BGR2Lab', 'CV_BGR2Luv', 'CV_BGR2RGB', 'CV_BGR2RGBA', 
'CV_BGR2XYZ', 'CV_BGR2YCrCb', 'CV_BGR5552BGR', 'CV_BGR5552BGRA', 
'CV_BGR5552GRAY', 'CV_BGR5552RGB', 'CV_BGR5552RGBA', 'CV_BGR5652BGR', 
'CV_BGR5652BGRA', 'CV_BGR5652GRAY', 'CV_BGR5652RGB', 'CV_BGR5652RGBA', 
'CV_BGRA2BGR', 'CV_BGRA2BGR555', 'CV_BGRA2BGR565', 'CV_BGRA2GRAY', 
'CV_BGRA2RGB', 'CV_BGRA2RGBA', 'CV_BILATERAL', 'CV_BLUR', 'CV_BLUR_NO_SCALE', 
'CV_BayerBG2BGR', 'CV_BayerBG2RGB', 'CV_BayerGB2BGR', 'CV_BayerGB2RGB', 
'CV_BayerGR2BGR', 'CV_BayerGR2RGB', 'CV_BayerRG2BGR', 'CV_BayerRG2RGB', 'CV_C', 
'CV_CALIB_CB_ADAPTIVE_THRESH', 'CV_CALIB_CB_FILTER_QUADS', 
'CV_CALIB_CB_NORMALIZE_IMAGE', 'CV_CALIB_FIX_ASPECT_RATIO', 
'CV_CALIB_FIX_FOCAL_LENGTH', 'CV_CALIB_FIX_INTRINSIC', 'CV_CALIB_FIX_K1', 
'CV_CALIB_FIX_K2', 'CV_CALIB_FIX_K3', 'CV_CALIB_FIX_PRINCIPAL_POINT', 
'CV_CALIB_SAME_FOCAL_LENGTH', 'CV_CALIB_USE_INTRINSIC_GUESS', 
'CV_CALIB_ZERO_DISPARITY', 'CV_CALIB_ZERO_TANGENT_DIST', 
'CV_CANNY_L2_GRADIENT', 'CV_CAP_PROP_BRIGHTNESS', 'CV_CAP_PROP_CONTRAST', 
'CV_CAP_PROP_CONVERT_RGB', 'CV_CAP_PROP_EXPOSURE', 'CV_CAP_PROP_FORMAT', 
'CV_CAP_PROP_FOURCC', 'CV_CAP_PROP_FPS', 'CV_CAP_PROP_FRAME_COUNT', 
'CV_CAP_PROP_FRAME_HEIGHT', 'CV_CAP_PROP_FRAME_WIDTH', 'CV_CAP_PROP_GAIN', 
'CV_CAP_PROP_HUE', 'CV_CAP_PROP_MODE', 'CV_CAP_PROP_POS_AVI_RATIO', 
'CV_CAP_PROP_POS_FRAMES', 'CV_CAP_PROP_POS_MSEC', 'CV_CAP_PROP_RECTIFICATION', 
'CV_CAP_PROP_SATURATION', 'CV_CAP_PROP_WHITE_BALANCE', 'CV_CHAIN_APPROX_NONE', 
'CV_CHAIN_APPROX_SIMPLE', 'CV_CHAIN_APPROX_TC89_KCOS', 
'CV_CHAIN_APPROX_TC89_L1', 'CV_CHAIN_CODE', 'CV_CHECK_QUIET', 'CV_CHECK_RANGE', 
'CV_CHOLESKY', 'CV_CLOCKWISE', 'CV_CMP', 'CV_CMP_EQ', 'CV_CMP_GE', 'CV_CMP_GT', 
'CV_CMP_LE', 'CV_CMP_LT', 'CV_CMP_NE', 'CV_CN_MAX', 'CV_CN_SHIFT', 
'CV_COLORCVT_MAX', 'CV_COMP_BHATTACHARYYA', 'CV_COMP_CHISQR', 'CV_COMP_CORREL', 
'CV_COMP_INTERSECT', 'CV_CONTOURS_MATCH_I1', 'CV_CONTOURS_MATCH_I2', 
'CV_CONTOURS_MATCH_I3', 'CV_CONTOUR_TREES_MATCH_I1', 'CV_COUNTER_CLOCKWISE', 
'CV_COVAR_COLS', 'CV_COVAR_NORMAL', 'CV_COVAR_ROWS', 'CV_COVAR_SCALE', 
'CV_COVAR_SCRAMBLED', 'CV_COVAR_USE_AVG', 'CV_DIFF', 'CV_DIFF_C', 'CV_DIFF_L1', 
'CV_DIFF_L2', 'CV_DIST_C', 'CV_DIST_FAIR', 'CV_DIST_HUBER', 'CV_DIST_L1', 
'CV_DIST_L12', 'CV_DIST_L2', 'CV_DIST_MASK_3', 'CV_DIST_MASK_5', 
'CV_DIST_MASK_PRECISE', 'CV_DIST_USER', 'CV_DIST_WELSCH', 'CV_DOMINANT_IPAN', 
'CV_DXT_FORWARD', 'CV_DXT_INVERSE', 'CV_DXT_INVERSE_SCALE', 'CV_DXT_INV_SCALE', 
'CV_DXT_MUL_CONJ', 'CV_DXT_ROWS', 'CV_DXT_SCALE', 'CV_EVENT_FLAG_ALTKEY', 
'CV_EVENT_FLAG_CTRLKEY', 'CV_EVENT_FLAG_LBUTTON', 'CV_EVENT_FLAG_MBUTTON', 
'CV_EVENT_FLAG_RBUTTON', 'CV_EVENT_FLAG_SHIFTKEY', 'CV_EVENT_LBUTTONDBLCLK', 
'CV_EVENT_LBUTTONDOWN', 'CV_EVENT_LBUTTONUP', 'CV_EVENT_MBUTTONDBLCLK', 
'CV_EVENT_MBUTTONDOWN', 'CV_EVENT_MBUTTONUP', 'CV_EVENT_MOUSEMOVE', 
'CV_EVENT_RBUTTONDBLCLK', 'CV_EVENT_RBUTTONDOWN', 'CV_EVENT_RBUTTONUP', 
'CV_ErrModeLeaf', 'CV_ErrModeParent', 'CV_ErrModeSilent', 'CV_FILLED', 
'CV_FLOODFILL_FIXED_RANGE', 'CV_FLOODFILL_MASK_ONLY', 'CV_FM_7POINT', 
'CV_FM_8POINT', 'CV_FM_LMEDS', 'CV_FM_LMEDS_ONLY', 'CV_FM_RANSAC', 
'CV_FM_RANSAC_ONLY', 'CV_FONT_HERSHEY_COMPLEX', 
'CV_FONT_HERSHEY_COMPLEX_SMALL', 'CV_FONT_HERSHEY_DUPLEX', 
'CV_FONT_HERSHEY_PLAIN', 'CV_FONT_HERSHEY_SCRIPT_COMPLEX', 
'CV_FONT_HERSHEY_SCRIPT_SIMPLEX', 'CV_FONT_HERSHEY_SIMPLEX', 
'CV_FONT_HERSHEY_TRIPLEX', 'CV_FONT_ITALIC', 'CV_FONT_VECTOR0', 'CV_FOURCC', 
'CV_FRONT', 'CV_GAUSSIAN', 'CV_GAUSSIAN_5x5', 'CV_GEMM_A_T', 'CV_GEMM_B_T', 
'CV_GEMM_C_T', 'CV_GRAPH_ALL_ITEMS', 'CV_GRAPH_ANY_EDGE', 
'CV_GRAPH_BACKTRACKING', 'CV_GRAPH_BACK_EDGE', 'CV_GRAPH_CROSS_EDGE', 
'CV_GRAPH_FORWARD_EDGE', 'CV_GRAPH_FORWARD_EDGE_FLAG', 
'CV_GRAPH_ITEM_VISITED_FLAG', 'CV_GRAPH_NEW_TREE', 'CV_GRAPH_OVER', 
'CV_GRAPH_SEARCH_TREE_NODE_FLAG', 'CV_GRAPH_TREE_EDGE', 'CV_GRAPH_VERTEX', 
'CV_GRAY2BGR', 'CV_GRAY2BGR555', 'CV_GRAY2BGR565', 'CV_GRAY2BGRA', 
'CV_GRAY2RGB', 'CV_GRAY2RGBA', 'CV_HAAR_DO_CANNY_PRUNING', 
'CV_HAAR_DO_ROUGH_SEARCH', 'CV_HAAR_FEATURE_MAX', 
'CV_HAAR_FIND_BIGGEST_OBJECT', 'CV_HAAR_MAGIC_VAL', 'CV_HAAR_SCALE_IMAGE', 
'CV_HIST_ARRAY', 'CV_HIST_SPARSE', 'CV_HLS2BGR', 'CV_HLS2RGB', 
'CV_HOUGH_GRADIENT', 'CV_HOUGH_MULTI_SCALE', 'CV_HOUGH_PROBABILISTIC', 
'CV_HOUGH_STANDARD', 'CV_HSV2BGR', 'CV_HSV2RGB', 'CV_IABS', 
'CV_IMWRITE_JPEG_QUALITY', 'CV_IMWRITE_PNG_COMPRESSION', 
'CV_IMWRITE_PXM_BINARY', 'CV_INPAINT_NS', 'CV_INPAINT_TELEA', 'CV_INTER_AREA', 
'CV_INTER_CUBIC', 'CV_INTER_LINEAR', 'CV_INTER_NN', 'CV_IS_SEQ_CLOSED', 
'CV_IS_SEQ_CONVEX', 'CV_IS_SEQ_CURVE', 'CV_IS_SEQ_HOLE', 'CV_IS_SEQ_INDEX', 
'CV_IS_SEQ_SIMPLE', 'CV_KMEANS_USE_INITIAL_LABELS', 'CV_L1', 'CV_L2', 
'CV_LINK_RUNS', 'CV_LKFLOW_GET_MIN_EIGENVALS', 'CV_LKFLOW_INITIAL_GUESSES', 
'CV_LKFLOW_PYR_A_READY', 'CV_LKFLOW_PYR_B_READY', 'CV_LMEDS', 
'CV_LOAD_IMAGE_COLOR', 'CV_LOAD_IMAGE_GRAYSCALE', 'CV_LOAD_IMAGE_UNCHANGED', 
'CV_LU', 'CV_Lab2BGR', 'CV_Lab2RGB', 'CV_Luv2BGR', 'CV_Luv2RGB', 'CV_MAKETYPE', 
'CV_MAT_CN', 'CV_MAT_DEPTH', 'CV_MAX_ARR', 'CV_MAX_DIM', 'CV_MAX_SOBEL_KSIZE', 
'CV_MEDIAN', 'CV_MINMAX', 'CV_MOP_BLACKHAT', 'CV_MOP_CLOSE', 'CV_MOP_GRADIENT', 
'CV_MOP_OPEN', 'CV_MOP_TOPHAT', 'CV_NEXT_AROUND_DST', 'CV_NEXT_AROUND_LEFT', 
'CV_NEXT_AROUND_ORG', 'CV_NEXT_AROUND_RIGHT', 'CV_NORMAL', 'CV_NORM_MASK', 
'CV_NO_CN_CHECK', 'CV_NO_DEPTH_CHECK', 'CV_NO_SIZE_CHECK', 
'CV_PCA_DATA_AS_COL', 'CV_PCA_DATA_AS_ROW', 'CV_PCA_USE_AVG', 'CV_PI', 
'CV_POLY_APPROX_DP', 'CV_PREV_AROUND_DST', 'CV_PREV_AROUND_LEFT', 
'CV_PREV_AROUND_ORG', 'CV_PREV_AROUND_RIGHT', 'CV_PTLOC_INSIDE', 
'CV_PTLOC_ON_EDGE', 'CV_PTLOC_OUTSIDE_RECT', 'CV_PTLOC_VERTEX', 'CV_QR', 
'CV_RAND_NORMAL', 'CV_RAND_UNI', 'CV_RANSAC', 'CV_REDUCE_AVG', 'CV_REDUCE_MAX', 
'CV_REDUCE_MIN', 'CV_REDUCE_SUM', 'CV_RELATIVE', 'CV_RELATIVE_C', 
'CV_RELATIVE_L1', 'CV_RELATIVE_L2', 'CV_RETR_CCOMP', 'CV_RETR_EXTERNAL', 
'CV_RETR_LIST', 'CV_RETR_TREE', 'CV_RGB', 'CV_RGB2BGR', 'CV_RGB2BGR555', 
'CV_RGB2BGR565', 'CV_RGB2BGRA', 'CV_RGB2GRAY', 'CV_RGB2HLS', 'CV_RGB2HSV', 
'CV_RGB2Lab', 'CV_RGB2Luv', 'CV_RGB2RGBA', 'CV_RGB2XYZ', 'CV_RGB2YCrCb', 
'CV_RGBA2BGR', 'CV_RGBA2BGR555', 'CV_RGBA2BGR565', 'CV_RGBA2BGRA', 
'CV_RGBA2GRAY', 'CV_RGBA2RGB', 'CV_SCHARR', 'CV_SHAPE_CROSS', 
'CV_SHAPE_CUSTOM', 'CV_SHAPE_ELLIPSE', 'CV_SHAPE_RECT', 'CV_SIGN', 
'CV_SORT_ASCENDING', 'CV_SORT_DESCENDING', 'CV_SORT_EVERY_COLUMN', 
'CV_SORT_EVERY_ROW', 'CV_STEREO_BM_BASIC', 'CV_STEREO_BM_FISH_EYE', 
'CV_STEREO_BM_NARROW', 'CV_STEREO_BM_NORMALIZED_RESPONSE', 
'CV_STEREO_GC_OCCLUDED', 'CV_SUBDIV2D_VIRTUAL_POINT_FLAG', 'CV_SVD', 
'CV_SVD_MODIFY_A', 'CV_SVD_SYM', 'CV_SVD_U_T', 'CV_SVD_V_T', 'CV_TERMCRIT_EPS', 
'CV_TERMCRIT_ITER', 'CV_TERMCRIT_NUMBER', 'CV_THRESH_BINARY', 
'CV_THRESH_BINARY_INV', 'CV_THRESH_MASK', 'CV_THRESH_OTSU', 'CV_THRESH_TOZERO', 
'CV_THRESH_TOZERO_INV', 'CV_THRESH_TRUNC', 'CV_TM_CCOEFF', 
'CV_TM_CCOEFF_NORMED', 'CV_TM_CCORR', 'CV_TM_CCORR_NORMED', 'CV_TM_SQDIFF', 
'CV_TM_SQDIFF_NORMED', 'CV_VALUE', 'CV_WARP_FILL_OUTLIERS', 
'CV_WARP_INVERSE_MAP', 'CV_WINDOW_AUTOSIZE', 'CV_XYZ2BGR', 'CV_XYZ2RGB', 
'CV_YCrCb2BGR', 'CV_YCrCb2RGB', 'CalcArrBackProject', 'CalcArrHist', 
'CalcBackProject', 'CalcBackProjectPatch', 'CalcCovarMatrix', 'CalcEMD2', 
'CalcGlobalOrientation', 'CalcHist', 'CalcMotionGradient', 'CalcOpticalFlowBM', 
'CalcOpticalFlowFarneback', 'CalcOpticalFlowHS', 'CalcOpticalFlowLK', 
'CalcOpticalFlowPyrLK', 'CalcPCA', 'CalcProbDensity', 'CalcSubdivVoronoi2D', 
'CalibrateCamera2', 'CalibrationMatrixValues', 'CamShift', 'Canny', 
'CaptureFromCAM', 'CaptureFromFile', 'CartToPolar', 'Cbrt', 'Ceil', 'CheckArr', 
'CheckContourConvexity', 'Circle', 'ClearHist', 'ClearND', 'ClearSeq', 
'ClearSubdivVoronoi2D', 'ClipLine', 'CloneImage', 'CloneMat', 'CloneMatND', 
'CloneSeq', 'Cmp', 'CmpS', 'CompareHist', 'ComputeCorrespondEpilines', 
'ContourArea', 'ContourFromContourTree', 'Convert', 'ConvertMaps', 
'ConvertPointsHomogeneous', 'ConvertScale', 'ConvertScaleAbs', 'ConvexHull2', 
'ConvexityDefects', 'Copy', 'CopyMakeBorder', 'CornerEigenValsAndVecs', 
'CornerHarris', 'CornerMinEigenVal', 'CountNonZero', 'CreateCameraCapture', 
'CreateContourTree', 'CreateData', 'CreateFileCapture', 'CreateHist', 
'CreateImage', 'CreateImageHeader', 'CreateKalman', 'CreateMat', 
'CreateMatHeader', 'CreateMatND', 'CreateMatNDHeader', 'CreateMemStorage', 
'CreatePOSITObject', 'CreateStereoBMState', 'CreateStereoGCState', 
'CreateStructuringElementEx', 'CreateSubdivDelaunay2D', 'CreateTrackbar', 
'CreateVideoWriter', 'CrossProduct', 'CvtColor', 'CvtPixToPlane', 'CvtScale', 
'DCT', 'DFT', 'DecodeImage', 'DecodeImageM', 'DecomposeProjectionMatrix', 
'DestroyAllWindows', 'DestroyWindow', 'Det', 'Dilate', 'DistTransform', 'Div', 
'DotProduct', 'DrawChessboardCorners', 'DrawContours', 'EigenVV', 'Ellipse', 
'EllipseBox', 'EncodeImage', 'EqualizeHist', 'Erode', 'EstimateRigidTransform', 
'Exp', 'ExtractSURF', 'FOURCC', 'FastArctan', 'FillConvexPoly', 'FillPoly', 
'Filter2D', 'FindChessboardCorners', 'FindContours', 'FindCornerSubPix', 
'FindExtrinsicCameraParams2', 'FindFundamentalMat', 'FindHomography', 
'FindNearestPoint2D', 'FindStereoCorrespondenceBM', 
'FindStereoCorrespondenceGC', 'FitEllipse2', 'FitLine', 'Flip', 'FloodFill', 
'Floor', 'GEMM', 'Get1D', 'Get2D', 'Get3D', 'GetAffineTransform', 
'GetCaptureProperty', 'GetCentralMoment', 'GetCol', 'GetCols', 'GetDiag', 
'GetDims', 'GetElemType', 'GetHuMoments', 'GetImage', 'GetImageCOI', 
'GetImageROI', 'GetMat', 'GetMinMaxHistValue', 'GetND', 
'GetNormalizedCentralMoment', 'GetOptimalDFTSize', 'GetOptimalNewCameraMatrix', 
'GetPerspectiveTransform', 'GetQuadrangleSubPix', 'GetReal1D', 'GetReal2D', 
'GetReal3D', 'GetRealND', 'GetRectSubPix', 'GetRotationMatrix2D', 'GetRow', 
'GetRows', 'GetSize', 'GetSpatialMoment', 'GetStarKeypoints', 'GetSubRect', 
'GetTextSize', 'GetTickCount', 'GetTickFrequency', 'GetTrackbarPos', 
'GoodFeaturesToTrack', 'GrabFrame', 'HOGDetectMultiScale', 'HaarDetectObjects', 
'HoughCircles', 'HoughLines2', 'IABS', 'IPL_DEPTH_16S', 'IPL_DEPTH_16U', 
'IPL_DEPTH_32F', 'IPL_DEPTH_32S', 'IPL_DEPTH_64F', 'IPL_DEPTH_8S', 
'IPL_DEPTH_8U', 'IPL_ORIGIN_BL', 'IPL_ORIGIN_TL', 'IS_SEQ_CLOSED', 
'IS_SEQ_CONVEX', 'IS_SEQ_CURVE', 'IS_SEQ_HOLE', 'IS_SEQ_INDEX', 
'IS_SEQ_SIMPLE', 'InRange', 'InRangeS', 'InitFont', 'InitIntrinsicParams2D', 
'InitLineIterator', 'InitUndistortMap', 'InitUndistortRectifyMap', 'Inpaint', 
'Integral', 'InvSqrt', 'Invert', 'IsInf', 'IsNaN', 'KMeans2', 'KalmanCorrect', 
'KalmanPredict', 'LUT', 'Laplace', 'Line', 'Load', 'LoadImage', 'LoadImageM', 
'Log', 'LogPolar', 'MAKETYPE', 'MAT_CN', 'MAT_DEPTH', 'Mahalonobis', 'MatMul', 
'MatMulAdd', 'MatchContourTrees', 'MatchShapes', 'MatchTemplate', 'Max', 
'MaxRect', 'MaxS', 'MeanShift', 'Merge', 'Min', 'MinAreaRect2', 
'MinEnclosingCircle', 'MinMaxLoc', 'MinS', 'MixChannels', 'Moments', 
'MorphologyEx', 'MoveWindow', 'Mul', 'MulSpectrums', 'MulTransposed', 
'MultiplyAcc', 'NamedWindow', 'Norm', 'Normalize', 'NormalizeHist', 'Not', 
'Or', 'OrS', 'POSIT', 'PerspectiveTransform', 'PointPolygonTest', 
'PolarToCart', 'PolyLine', 'Pow', 'PreCornerDetect', 'ProjectPCA', 
'ProjectPoints2', 'PutText', 'PyrDown', 'PyrMeanShiftFiltering', 
'PyrSegmentation', 'PyrUp', 'QueryFrame', 'QueryHistValue_1D', 
'QueryHistValue_2D', 'QueryHistValue_3D', 'QueryHistValue_nD', 'RGB', 'RNG', 
'RQDecomp3x3', 'RandArr', 'RandInt', 'RandReal', 'RandShuffle', 'Range', 
'RealScalar', 'Rectangle', 'Reduce', 'Remap', 'Repeat', 'ReprojectImageTo3D', 
'ResetImageROI', 'Reshape', 'ReshapeMatND', 'Resize', 'ResizeWindow', 
'RetrieveFrame', 'Rodrigues2', 'Round', 'RunningAvg', 'SIGN', 'SVBkSb', 'SVD', 
'Save', 'SaveImage', 'Scalar', 'ScalarAll', 'Scale', 'ScaleAdd', 
'SegmentMotion', 'SeqInvert', 'SeqRemove', 'SeqRemoveSlice', 'Set', 'Set1D', 
'Set2D', 'Set3D', 'SetCaptureProperty', 'SetData', 'SetIdentity', 
'SetImageCOI', 'SetImageROI', 'SetMouseCallback', 'SetND', 'SetReal1D', 
'SetReal2D', 'SetReal3D', 'SetRealND', 'SetTrackbarPos', 'SetZero', 
'ShowImage', 'Smooth', 'SnakeImage', 'Sobel', 'Solve', 'SolveCubic', 
'SolvePoly', 'Sort', 'Split', 'Sqrt', 'SquareAcc', 'StartWindowThread', 
'StereoCalibrate', 'StereoRectify', 'StereoRectifyUncalibrated', 'Sub', 
'SubRS', 'SubS', 'Subdiv2DEdgeDst', 'Subdiv2DEdgeOrg', 'Subdiv2DGetEdge', 
'Subdiv2DLocate', 'Subdiv2DNextEdge', 'Subdiv2DRotateEdge', 
'SubdivDelaunay2DInsert', 'Sum', 'ThreshHist', 'Threshold', 'Trace', 
'Transform', 'Transpose', 'Undistort2', 'UndistortPoints', 
'UpdateMotionHistory', 'WaitKey', 'WarpAffine', 'WarpPerspective', 'Watershed', 
'WriteFrame', 'Xor', 'XorS', 'Zero', '__doc__', '__file__', '__name__', 
'__package__', 'cvmat', 'error', 'iplimage', 'mGet', 'mSet', 'temp_test']

Original issue reported on code.google.com by lyndiech...@gmail.com on 5 Nov 2010 at 9:18

GoogleCodeExporter commented 9 years ago
Thanks. The fromarray function is now obsolete. Please use asMat() instead. 

Cheers,
Minh-Tri

Original comment by pmtri80@gmail.com on 7 Nov 2010 at 8:29