If you cannot afford Metashape, consider these legitimate free alternatives (no activation code required):
It does the job, but don't change your motherboard without deactivating first. Agisoft Metashape Activation Code