Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Rodrigues

Pages: [1]
1
Python and Java API / segmentation fault after orthomosaic generated
« on: July 09, 2020, 11:56:44 AM »
Hi. I'm using Metashape 1.6.2 python API as a standalone module on Ubuntu 18.04.

I built and exported both DEM and orthomosaic using my python code.

But after the main code finished, it gives segmentation fault error.

DEM and orthomosaic successfully generated.

But I cannot resolve this segmentation fault error.

Is this a bug?


Please help.

Thanks.



Code: [Select]
loaded partition in 0.153148 sec
boundaries extracted in 0.026377 sec
14 images blended in 1.14112 sec
orthomosaic updated in 36.906 sec
orthomosaic updated in 0.026349 sec
ExportRaster: image_format = TIFF, path = test/ortho.tif
generating 11403 x 11290 raster in 1 x 1 tiles
[2]    13713 segmentation fault (core dumped)  python3.6 main.py --images_dir ~/Documents/Parkinglot/mechanical_moving  test
python3.6 main.py 6176.79s user 179.62s system 624% cpu 16:57.52 total

2
General / importing EXIF data from DJI drone images
« on: June 22, 2020, 05:21:29 AM »
Hello.

I'm doing several tests with 3 dataset.

1. with DJI P4 Pro 2 without any GCP points

2. with DJI P4 Pro 2 with GCP points.

3. with DJI P4 RTK without any GCP points.


I've already succeeded for the second and third dataset.

But I have a trouble with the first dataset.

When I build the dense point cloud with it, the scale doesn't match at all with real distance. Also altitude its altitude has strange value that doesn't make sense(6356746 meters).

I think the main reason is the lack of reference procedure - because I didn't.

But I don't want to use neither GCP markers and scale bar.

I just want to use its EXIF GPS metadata to get scale even if it is not accurate.

Is this possible?


When I import the images which is took from DJI Pro2 using "Add Photos.." button, I see some lack of EXIF information(Longitude and Latitude, See the attached).

However, when I import RTK images, these values are not empty(See the attached also), so result(scale and altitude values) are good.

Of course, I'm pretty sure that my images have EXIF data.


Could this be a reason that scale and coordinate doesn't match?

If so, please give me any advice to solve this.


Thanks, in advance.

Pages: [1]