Started by tpubben, July 14, 2017, 09:06:00 PM
Quote from: Alexey Pasumansky on July 15, 2017, 03:45:32 PMHello tpubben,You need to have at least two projections for the marker on the aligned photos to have information about its estimated position in the space.
chunk = PhotoScan.app.document.chunkcamera = chunk.cameras[0]point2D = PhotoScan.Vector([imgX,imgY]) # coordinates of the point on the given photosensor = camera.sensorcalibration = sensor.calibrationx = chunk.point_cloud.pickPoint(camera.center, camera.transform.mulp(sensor.calibration.unproject(point2D)))chunk.addMarker(point = x)