opencv-pythonで、version3からversion4にかわって追加された属性、削除された属性
version3.4.18と
version4.6.0
を比較
結果
- AffineTransformer + CALIB_CB_ACCURACY + CALIB_CB_EXHAUSTIVE + CALIB_CB_LARGER + CALIB_CB_MARKER + CALIB_NINTRINSIC + CALIB_ROBOT_WORLD_HAND_EYE_LI + CALIB_ROBOT_WORLD_HAND_EYE_SHAH + CAP_INTELPERC_IR_GENERATOR - CAP_MODE_BGR - CAP_MODE_GRAY - CAP_MODE_RGB - CAP_MODE_YUYV + CAP_OPENNI2_ASTRA + CAP_PROP_ARAVIS_AUTOTRIGGER + CAP_PROP_AUDIO_BASE_INDEX + CAP_PROP_AUDIO_DATA_DEPTH + CAP_PROP_AUDIO_POS + CAP_PROP_AUDIO_SAMPLES_PER_SECOND + CAP_PROP_AUDIO_SHIFT_NSEC + CAP_PROP_AUDIO_STREAM + CAP_PROP_AUDIO_SYNCHRONIZE + CAP_PROP_AUDIO_TOTAL_CHANNELS + CAP_PROP_AUDIO_TOTAL_STREAMS + CAP_PROP_CODEC_EXTRADATA_INDEX + CAP_PROP_HW_ACCELERATION + CAP_PROP_HW_ACCELERATION_USE_OPENCL + CAP_PROP_HW_DEVICE + CAP_PROP_LRF_HAS_KEY_FRAME + CAP_PROP_STREAM_OPEN_TIME_USEC + CAP_PROP_VIDEO_STREAM + CAP_PROP_VIDEO_TOTAL_CHANNELS + CAP_REALSENSE + CAP_UEYE - ChiHistogramCostExtractor - CirclesGridFinderParameters2 + DISOPTICAL_FLOW_PRESET_FAST + DISOPTICAL_FLOW_PRESET_MEDIUM + DISOPTICAL_FLOW_PRESET_ULTRAFAST + DISOpticalFlow + DISOpticalFlow_PRESET_FAST + DISOpticalFlow_PRESET_MEDIUM + DISOpticalFlow_PRESET_ULTRAFAST + DISOpticalFlow_create - DualTVL1OpticalFlow - DualTVL1OpticalFlow_create - EMDHistogramCostExtractor - EMDL1HistogramCostExtractor + FACE_RECOGNIZER_SF_FR_COSINE + FACE_RECOGNIZER_SF_FR_NORM_L2 - FILE_NODE_REF - FILE_NODE_USER + FILE_NODE_UNIFORM + FILTER_SCHARR + FaceDetectorYN + FaceDetectorYN_create + FaceRecognizerSF + FaceRecognizerSF_FR_COSINE + FaceRecognizerSF_FR_NORM_L2 + FaceRecognizerSF_create - FileNode_REF - FileNode_USER + FileNode_UNIFORM + GArray + GArrayDesc + GArrayT + GCompileArg + GComputation + GFLUID_KERNEL_KIND_FILTER + GFLUID_KERNEL_KIND_RESIZE + GFLUID_KERNEL_KIND_YUV420TO_RGB + GFluidKernel_Kind_Filter + GFluidKernel_Kind_Resize + GFluidKernel_Kind_YUV420toRGB + GFrame + GIn + GInferInputs + GInferListInputs + GInferListOutputs + GInferOutputs + GKernelPackage + GMat + GMatDesc + GOpaque + GOpaqueDesc + GOpaqueT + GOut + GSHAPE_GARRAY + GSHAPE_GFRAME + GSHAPE_GMAT + GSHAPE_GOPAQUE + GSHAPE_GSCALAR + GScalar + GScalarDesc + GShape_GARRAY + GShape_GFRAME + GShape_GMAT + GShape_GOPAQUE + GShape_GSCALAR + GStreamingCompiled - HAMMING_NORM_TYPE + HOGDESCRIPTOR_DESCR_FORMAT_COL_BY_COL + HOGDESCRIPTOR_DESCR_FORMAT_ROW_BY_ROW + HOGDescriptor_DESCR_FORMAT_COL_BY_COL + HOGDescriptor_DESCR_FORMAT_ROW_BY_ROW + HOUGH_GRADIENT_ALT - Hamming_normType - HausdorffDistanceExtractor - HistogramCostExtractor + HoughLinesWithAccumulator + IMWRITE_EXR_COMPRESSION + IMWRITE_EXR_COMPRESSION_B44 + IMWRITE_EXR_COMPRESSION_B44A + IMWRITE_EXR_COMPRESSION_DWAA + IMWRITE_EXR_COMPRESSION_DWAB + IMWRITE_EXR_COMPRESSION_NO + IMWRITE_EXR_COMPRESSION_PIZ + IMWRITE_EXR_COMPRESSION_PXR24 + IMWRITE_EXR_COMPRESSION_RLE + IMWRITE_EXR_COMPRESSION_ZIP + IMWRITE_EXR_COMPRESSION_ZIPS + IMWRITE_JPEG2000_COMPRESSION_X1000 + LOCAL_OPTIM_GC + LOCAL_OPTIM_INNER_AND_ITER_LO + LOCAL_OPTIM_INNER_LO + LOCAL_OPTIM_NULL + LOCAL_OPTIM_SIGMA + MEDIA_FORMAT_BGR + MEDIA_FORMAT_GRAY + MEDIA_FORMAT_NV12 + MEDIA_FRAME_ACCESS_R + MEDIA_FRAME_ACCESS_W + Mat + MediaFormat_BGR + MediaFormat_GRAY + MediaFormat_NV12 + MediaFrame_Access_R + MediaFrame_Access_W + NEIGH_FLANN_KNN + NEIGH_FLANN_RADIUS + NEIGH_GRID - NormHistogramCostExtractor - ORB_K_BYTES - ORB_kBytes + PyRotationWarper + QUAT_ASSUME_NOT_UNIT + QUAT_ASSUME_UNIT + QUAT_ENUM_EULER_ANGLES_MAX_VALUE + QUAT_ENUM_EXT_XYX + QUAT_ENUM_EXT_XYZ + QUAT_ENUM_EXT_XZX + QUAT_ENUM_EXT_XZY + QUAT_ENUM_EXT_YXY + QUAT_ENUM_EXT_YXZ + QUAT_ENUM_EXT_YZX + QUAT_ENUM_EXT_YZY + QUAT_ENUM_EXT_ZXY + QUAT_ENUM_EXT_ZXZ + QUAT_ENUM_EXT_ZYX + QUAT_ENUM_EXT_ZYZ + QUAT_ENUM_INT_XYX + QUAT_ENUM_INT_XYZ + QUAT_ENUM_INT_XZX + QUAT_ENUM_INT_XZY + QUAT_ENUM_INT_YXY + QUAT_ENUM_INT_YXZ + QUAT_ENUM_INT_YZX + QUAT_ENUM_INT_YZY + QUAT_ENUM_INT_ZXY + QUAT_ENUM_INT_ZXZ + QUAT_ENUM_INT_ZYX + QUAT_ENUM_INT_ZYZ + QuatEnum_EULER_ANGLES_MAX_VALUE + QuatEnum_EXT_XYX + QuatEnum_EXT_XYZ + QuatEnum_EXT_XZX + QuatEnum_EXT_XZY + QuatEnum_EXT_YXY + QuatEnum_EXT_YXZ + QuatEnum_EXT_YZX + QuatEnum_EXT_YZY + QuatEnum_EXT_ZXY + QuatEnum_EXT_ZXZ + QuatEnum_EXT_ZYX + QuatEnum_EXT_ZYZ + QuatEnum_INT_XYX + QuatEnum_INT_XYZ + QuatEnum_INT_XZX + QuatEnum_INT_XZY + QuatEnum_INT_YXY + QuatEnum_INT_YXZ + QuatEnum_INT_YZX + QuatEnum_INT_YZY + QuatEnum_INT_ZXY + QuatEnum_INT_ZXZ + QuatEnum_INT_ZYX + QuatEnum_INT_ZYZ + RMAT_ACCESS_R + RMAT_ACCESS_W + RMat_Access_R + RMat_Access_W + SAMPLING_NAPSAC + SAMPLING_PROGRESSIVE_NAPSAC + SAMPLING_PROSAC + SAMPLING_UNIFORM + SCORE_METHOD_LMEDS + SCORE_METHOD_MAGSAC + SCORE_METHOD_MSAC + SCORE_METHOD_RANSAC - STITCHER_ORIG_RESOL - ShapeContextDistanceExtractor - ShapeDistanceExtractor - ShapeTransformer - Stitcher_ORIG_RESOL + Stitcher_create - ThinPlateSplineShapeTransformer + Tracker + TrackerDaSiamRPN + TrackerDaSiamRPN_Params + TrackerDaSiamRPN_create + TrackerGOTURN + TrackerGOTURN_Params + TrackerGOTURN_create + TrackerMIL + TrackerMIL_Params + TrackerMIL_create + USAC_ACCURATE + USAC_DEFAULT + USAC_FAST + USAC_FM_8PTS + USAC_MAGSAC + USAC_PARALLEL + USAC_PROSAC + UsacParams + VIDEOWRITER_PROP_DEPTH + VIDEOWRITER_PROP_HW_ACCELERATION + VIDEOWRITER_PROP_HW_ACCELERATION_USE_OPENCL + VIDEOWRITER_PROP_HW_DEVICE + VIDEOWRITER_PROP_IS_COLOR + VIDEO_ACCELERATION_ANY + VIDEO_ACCELERATION_D3D11 + VIDEO_ACCELERATION_MFX + VIDEO_ACCELERATION_NONE + VIDEO_ACCELERATION_VAAPI + VariationalRefinement + VariationalRefinement_create + WND_PROP_VSYNC + WarperCreator + _OUTPUT_ARRAY_DEPTH_MASK_16F + _OUTPUT_ARRAY_DEPTH_MASK_ALL_16F + _OutputArray_DEPTH_MASK_16F + _OutputArray_DEPTH_MASK_ALL_16F + __all__ + __builtins__ + __cached__ + __collect_extra_submodules + __load_extra_py_code_for_module + __path__ + _native + _registerMatType + bootstrap + calibrateCameraRO + calibrateCameraROExtended + calibrateRobotWorldHandEye + checkChessboard + copyTo - createAffineTransformer - createChiHistogramCostExtractor - createEMDHistogramCostExtractor - createEMDL1HistogramCostExtractor - createHausdorffDistanceExtractor - createNormHistogramCostExtractor - createOptFlow_DualTVL1 - createShapeContextDistanceExtractor - createStitcher - createStitcherScans - createThinPlateSplineShapeTransformer + cuda_BufferPool + cuda_DeviceInfo + cuda_Event + cuda_GpuData + cuda_GpuMat + cuda_GpuMatND + cuda_GpuMat_Allocator + cuda_HostMem + cuda_Stream + cuda_TargetArchs + data + detail_AffineBasedEstimator + detail_AffineBestOf2NearestMatcher + detail_BestOf2NearestMatcher + detail_BestOf2NearestRangeMatcher + detail_Blender + detail_BlocksChannelsCompensator + detail_BlocksCompensator + detail_BlocksGainCompensator + detail_BundleAdjusterAffine + detail_BundleAdjusterAffinePartial + detail_BundleAdjusterBase + detail_BundleAdjusterRay + detail_BundleAdjusterReproj + detail_CameraParams + detail_ChannelsCompensator + detail_DpSeamFinder + detail_Estimator + detail_ExposureCompensator + detail_FeatherBlender + detail_FeaturesMatcher + detail_GainCompensator + detail_GraphCutSeamFinder + detail_HomographyBasedEstimator + detail_ImageFeatures + detail_MatchesInfo + detail_MultiBandBlender + detail_NoBundleAdjuster + detail_NoExposureCompensator + detail_NoSeamFinder + detail_PairwiseSeamFinder + detail_ProjectorBase + detail_SeamFinder + detail_SphericalProjector + detail_Timelapser + detail_TimelapserCrop + detail_VoronoiSeamFinder + dnn_ClassificationModel + dnn_DetectionModel + dnn_KeypointsModel + dnn_Model + dnn_SegmentationModel + dnn_TextDetectionModel + dnn_TextDetectionModel_DB + dnn_TextDetectionModel_EAST + dnn_TextRecognitionModel + empty_array_desc + empty_gopaque_desc + empty_scalar_desc - estimateRigidTransform + estimateChessboardSharpness + estimateTranslation3D + findChessboardCornersSB + findChessboardCornersSBWithMeta - findCirclesGrid2 + flann + flann_Index + gapi + gapi_GNetPackage + gapi_GNetParam + gapi_ie_PyParams + gapi_streaming_queue_capacity + gapi_wip_GOutputs + gapi_wip_IStreamSource + gapi_wip_draw_Circle + gapi_wip_draw_Image + gapi_wip_draw_Line + gapi_wip_draw_Mosaic + gapi_wip_draw_Poly + gapi_wip_draw_Rect + gapi_wip_draw_Text + gapi_wip_gst_GStreamerPipeline + gin + goodFeaturesToTrackWithQuality + haveImageReader + haveImageWriter + imcount + importlib + initInverseRectificationMap - initWideAngleProjMap + load_config_py3 + mat_wrapper + misc - ml_ANN_MLP_ANNEAL + numpy + ocl_OpenCLExecutionContext + os + parallel + pollKey + readOpticalFlow + reduceArgMax + reduceArgMin + segmentation + segmentation_IntelligentScissorsMB + sys + transposeND + undistortImagePoints + version - videostab + writeOpticalFlow
コメント
比較的差分が小さいので、ふわっとは、覚えられるのでは?
補足
dir で属性を確認いたしました。
import cv2 import pprint pprint.pprint(dir(cv2)