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.

Messages - Goran

Pages: [1]
General / Re: Agisoft and opencv calibration.
« on: June 04, 2020, 05:54:12 PM »
I am trying to import an opencv calibration but its failing with cant load calibration.
I put the mtx values in the xml form Alexey shared here and the dist parameters but no success  :-[
Code: [Select]
<?xml version="1.0"?>
<calibration_Time>"Wed Nov 14 18:34:34 2018"</calibration_Time>
<Camera_Matrix type_id="opencv-matrix">
    7.1027199047244882e+04 0. 2.1432310560847563e+03 0. 6.6698200834795687e+04 1.8130108111131310e+03 0. 0. 4.</data></Camera_Matrix>
<Distortion_Coefficients type_id="opencv-matrix">
    -1.5335114309410122e+02 4.4860617192493759e+04 3.0359106998357475e+00 1.6586668282629993e+00 8.7565776122760113e+01</data></Distortion_Coefficients>

what am i missing?

EDIT: please delete I simply forgot to select OPENCV Format
EDIT2: i think it should be rows:1 cols:5 and not the other way or not?

is there a way to get the DEM show the highest point from the cleaned model after chunk.model.removeComponents() ?
I only get it to show the highest point of dense cloud which contains some unwanted components on top and returns the wrong height.


I am struggling now to get the height.
With the GUI I can build a DEM by defining the ground markers as horizontal.
This way the elevation model gets build with the top being the highest point.
In the script API I can not find these options.
Even when I don't buildDem in the script, the report presents me an elevation model but it has chest and nose as highest points and PhotoScan.Elevation.height doesn't return a value.

What would be a proper way to log the height of the scanned object in python?
I have a bounding box set up with floor and center markers.

btw thanks for the great help in this forum, is really appreciated.

i cant see any lib folder in the photoscan directory,
tried linking agains the base photoscan directory as it contains some qt files but it didnt work

Apparently this Qt library is needed to render the pdf document with fonts.
QFontDatabase: Cannot find font directory /home/ec2-user/photoscan-pro/lib/fonts - is Qt installed correctly?
How to solve this?
I am running Amazon Linux AMI & Agisoft PhotoScan Professional version 1.3.1 build 4030 (64 bit)
Do I have to build that whole Qt Toolkit ?


Python and Java API / Re: agisoft on g2.8xlarge (aws ec2)
« on: April 13, 2017, 07:12:13 PM »
I guess it´s the case since
Code: [Select]
numGpu =

Code: [Select]
or do I have to set up gpu_mask in order to get list returned?

Python and Java API / Re: agisoft on g2.8xlarge (aws ec2)
« on: April 13, 2017, 06:43:01 PM »
yes "-platform offscreen" worked, thanks  8)
my other question is: do I need to install the NVIDIA Driver on Amazon Linux as referred to here
to make use of the gpu of the instance?

Python and Java API / Re: agisoft on g2.8xlarge (aws ec2)
« on: April 13, 2017, 06:04:47 PM »
Hey Alexey,

yes I am starting script with -r.
it works, but I am not sure the rendering process takes full use of the capabilities of this instance.

Python and Java API / Re: agisoft on g2.8xlarge (aws ec2)
« on: April 13, 2017, 04:08:43 PM »
I got it running with xvfb-run.
is that the standard way to do it?

Python and Java API / agisoft on g2.8xlarge (aws ec2)
« on: April 13, 2017, 03:57:20 PM »
I try to run photoscan 1.3.1 on aws ec2 instance g2.8xlarge since this is crucial to our company needs.
os is:
Distributor ID:   Ubuntu
Description:   Ubuntu 16.04.2 LTS
Release:   16.04
Codename:   xenial

I get following error:
QXcbConnection: Could not connect to display
Aborted (core dumped)

What could that be?

Pages: [1]