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 - beerockxs2

Pages: [1]
Bug Reports / Re: Detect Markers - disable parity
« on: September 03, 2015, 06:22:17 PM »
I also have this issue, 4 markers are not detected in PhotoScan 1.1.6 build 2038, and they all fulfil the criteria you mentionend (all black parts not being in the same semi-circle).
Also, why is it not possible to use the disable parity option when detecting markers using the Python API?

Python and Java API / Re: Example code for full processin chain
« on: November 12, 2014, 04:55:15 PM »
Hello Oliver,

It has been already discussed:

Starting automatic processing chain by the use of auto-run script is blocked by the reason.
Is there a specific reason why you want to block the automated scripting? There's always the option of using something like AutoIt to automate the process, it just adds another hassle for us users.

Python and Java API / Re: Running headless
« on: August 22, 2014, 01:55:30 PM »
I would like to see this, too.

Hello beerockxs2,

I think you should do the following:

Code: [Select]
gc = chunk.ground_control
locations = gc.locations
for marker in chunk.markers:
   if marker.label == "target 373":
      locations[marker].coord = ([357694.233, 5609773.51639, 227.900330])

With a minor change (gc.apply() instead of ground_control.apply()) this worked just fine. Thanks for the quick response!

Hello beerockxs2,

And what is the console output message for this script?
There is no output regarding the markers, photo matching, image alignment, dense cloud and model building work as normal, but the detected markers stay disabled and have no coordinates assigned to them.

Hi there,

I'm trying to set the coordinates of my detected groudn control markers programmatically, and it's not working.
Here's the code I'm using:

    for marker in chunk.markers:

        gcl = PhotoScan.GroundControlLocation(chunk,marker)
        if marker.label == "target 373":
            print("setting coord for marker 373")
            gcl.coord = {357694.233,5609773.51639,227.900330}

The detection does work, the coordinate setting not. What do I need to change?

Pages: [1]