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.


Messages - Goran

Pages: [1]
1
General / Re: Agisoft and opencv calibration.
« on: June 04, 2020, 05:54:12 PM »
hey
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"?>
<opencv_storage>
<calibration_Time>"Wed Nov 14 18:34:34 2018"</calibration_Time>
<image_Width>4912</image_Width>
<image_Height>3684</image_Height>
<Camera_Matrix type_id="opencv-matrix">
  <rows>3</rows>
  <cols>3</cols>
  <dt>d</dt>
  <data>
    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">
  <rows>1</rows>
  <cols>5</cols>
  <dt>d</dt>
  <data>
    -1.5335114309410122e+02 4.4860617192493759e+04 3.0359106998357475e+00 1.6586668282629993e+00 8.7565776122760113e+01</data></Distortion_Coefficients>
</opencv_storage>

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?

2
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.

3
Hey,

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.


4
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

5
hey,
Apparently this Qt library is needed to render the pdf document with fonts.
Quote
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 ?

regards
goran

6
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 = PhotoScan.app.enumGPUDevices()
print(numGpu)

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

7
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
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/accelerated-computing-instances.html#install-nvidia-driver
to make use of the gpu of the instance?

8
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.

9
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?

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

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

What could that be?

Pages: [1]