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

Pages: [1]
Python and Java API / Auto process on start
« on: February 24, 2014, 04:51:38 PM »

I wrote script what I placed in "Agisoft\PhotoScan Pro\scripts\" for it run on start.
When I launch PhotoScan I have an error on this script but when I launch this script in consol it's run normaly.

Code: [Select]
def import_photos() :
global repertoire_de_travail
global document

repertoire_photos = repertoire_de_travail+'/Photos/'
liste_photos = os.listdir(repertoire_photos)

# Creation du chunk
my_chunk = PhotoScan.Chunk()
my_chunk.label = "Guigui_Chunk"

for nom_photo in liste_photos :
if my_chunk.cameras.add(repertoire_photos + nom_photo) :
my_chunk.cameras.remove((len(my_chunk.cameras)) - 1)
print(nom_photo, " - imported")
else :
print(nom_photo, " - erreur")

# Creation du document et ajout du chunk
document =
my_chunk.enabled = True
document.chunks.add(my_chunk) # ERROR ON THIS LINE

This is because access to is blocked for autorun scripts...
The support suggest me to use custom menu item and bind all functionality to this custom option but I need to execute (Align / Optimization / Build mesh) automaticly when I open PhotoScan.

Feature Requests / Re: Export Points
« on: August 09, 2013, 05:11:15 PM »
On a plane or area I understand but I do not see how it can be applied to a point

Feature Requests / Export Points
« on: August 09, 2013, 10:07:14 AM »

Sorry for my noob question.
What is the "point normals" option on Export Points ?


Bug Reports / Re: Problem with gray markers
« on: June 28, 2013, 05:05:17 PM »
sorry I do not have a pictorial representation of what I just explained to you.
The 3D model of the markers have always been blue.

But if the gray markers are not a problem for the optimization I do not have a problem.
I'll post pictures for markers that are detected in the wrong place.


Bug Reports / Re: Problem with gray markers
« on: June 28, 2013, 04:43:31 PM »
All images are properly aligned.
I have another problem:
1. I place my first marker on a picture (green marker)
2. I PIN the markers on my other photos (blue marker > green marker)
The problem he has blue markers on pictures where my target is not present.
When I delete his blue markers some gray markers disappear but not all

Bug Reports / Problem with gray markers
« on: June 28, 2013, 04:17:08 PM »
I have a problem with markers.
When I put all the markers on the pictures there is still the identified markers that are not in the picture.
The icon of the marker is also different and I can not delete it..

What are gray markers?


Python and Java API / Add only one picture in my chunk
« on: May 14, 2013, 12:42:36 PM »
I use PYTHON API for import my pictures in my chunk but for all picture add there are two pictures...

My Code :
Code: [Select]
workspace =
my_chunk = PhotoScan.Chunk()
my_chunk.label = "My Chunk"

In my chunk:
"R0010414.JPG" : (3956x2756) it's ok :)
"R0010414.JPG [2]" : (640x480) it's a thumbnail picture... :(

How can I import only R0010414.JPG ?

Pages: [1]