27 lines
1.6 KiB
Python
27 lines
1.6 KiB
Python
|
|
workdir = 'D://' #建模过程数据存放的目录
|
|
local_need_build = '/\\172.31.1.253/modeling/local_need_build' #需要建模的数据存放目录
|
|
local_complate_build = '/\\172.31.1.253/modeling/local_complate_build' #建模完成的存放目录
|
|
rcbin = '"C:\\Program Files\\Capturing Reality\\RealityCapture\\RealityCapture.exe"'
|
|
urls = {
|
|
'update_status_modelsuccess_url': 'http://172.16.20.13:8383/update_take_photo',
|
|
}
|
|
|
|
r = {
|
|
"setTextureTrue" : "-selectAllImages -enableTexturingAndColoring true",
|
|
"setTextureFalse" : "-selectAllImages -enableTexturingAndColoring false",
|
|
}
|
|
|
|
r1 = {
|
|
"init" : "-disableOnlineCommunication -set \"sfmEnableCameraPrior=False\" -set \"sfmMaxFeaturesPerMpx=20000\" -set \"sfmMaxFeaturesPerImage=200000\" -set \"sfmImagesOverlap=High\" -set \"sfmMaxFeatureReprojectionError=1\"",
|
|
}
|
|
|
|
r2 = {
|
|
"init" : "-disableOnlineCommunication -setProjectCoordinateSystem Local:1 -setOutputCoordinateSystem epsg:4326 -set \"sfmEnableCameraPrior=False\" -set \"sfmMaxFeaturesPerMpx=20000\" -set \"sfmMaxFeaturesPerImage=200000\" -set \"sfmImagesOverlap=High\" -set \"sfmMaxFeatureReprojectionError=1\"",
|
|
"setRegion" : "-setReconstructionRegionOnCPs 36h11:001 36h11:002 36h11:003 2.1 -moveReconstructionRegion 0 0 -2.1 -rotateReconstructionRegion 180 0 180 -setGroundPlaneFromReconstructionRegion -scaleReconstructionRegion 1.8 1.6 2.1 absolute center -moveReconstructionRegion 0 0 0.0025"
|
|
}
|
|
|
|
rH = {
|
|
"init" : "-disableOnlineCommunication -set \"sfmEnableCameraPrior=False\" -set \"sfmMaxFeaturesPerMpx=10000\" -set \"sfmMaxFeaturesPerImage=80000\" -set \"sfmImagesOverlap=High\" -set \"sfmMaxFeatureReprojectionError=2\"",
|
|
}
|