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

Pages: [1] 2
1
Python and Java API / region box translation after re-oriented
« on: July 15, 2015, 06:17:20 PM »
i'm confused about the local and re-oriented coordinates math

my body scanning workflow detect markers on ground and then update the transform. This makes a [R] on the chunk name and result in correct alignment, orientation and scale of scene.

however, now i want to move the center of region box to [0,100,0] (by script)   (100cm above the ground). when i do, it still works on a local coordinates, instead of the new re-oriented coordinates.

any help on the correct code is appreciated.

2
Python and Java API / region center
« on: May 12, 2015, 11:01:09 PM »
hi

I have a referenced chunk
i want to translate the region center to a marker position
       
        newregion = chunk.region
        newCenter = chunk.transform.matrix.mulp( chunk.marker[0].position )   
   newregion.center = newCenter
   chunk.region = newregion
       

the result is wrong. is it my code is wrong?
thanks

3
Python and Java API / Re: bounding box region
« on: May 12, 2015, 08:22:07 PM »
since I specifiy the markers coordinates and  update transform. I think the chunk is referecned
any insights ?


4
Face and Body Scanning / classify ground for human scan
« on: May 06, 2015, 04:36:32 PM »
is it possible to identify the floor by using classify ground automatically?
the scene i do is aligned and scaled, however, i tried with varying parameters, photoscan just freeze and calculate 0-10% forever.

thanks

5
Python and Java API / Re: bounding box region
« on: May 06, 2015, 02:17:37 PM »
i'm not sure.. i guess is referenced. by the following procedure:

after align cameras, i use chunk.detectMarkers()

and then loop
chunk.markers.reference.location = PhotoScan.Vector( pos1 )

where pos1 are some hardcoded positions

then update the transform to align the chunk


6
Python and Java API / bounding box region
« on: May 06, 2015, 12:56:44 PM »
hi,

is there a way to code the following simple idea?

after aligning cameras and aligned the scene by coded markers, i want to specify a hardcoded coordinates of region,
e.g. [1,2,1] for a fixed volume of 1m wide x 2m height x 1m depth for scanning human

i tried some
newregion.center = PhotoScan.Vector([0,0,0])
newregion.size = PhotoScan.Vector([1,2,1])
chunk.region = newregion

but the region is Off
and secondly i don't know how to reset the rotation to zero ( align to the 3 axis)

advise is appreciated

7
Python and Java API / Re: import marker coordinates
« on: May 02, 2015, 12:11:29 PM »
Thanks
So what is the proper code that does what import marker locations does like in GUI button next to the export?

8
Python and Java API / import marker coordinates
« on: May 01, 2015, 06:26:16 PM »
hi

I'm trying to python the process of detecting markers of coded targets, and then import the predefined coordinates of markers exported from previous sessions of GUI (same markers)
the following code runs and detect markers works but then it doesn't seem to assign coordinates values to the markers. (where i successfully did so from GUI)

        chunk.detectMarkers()    
   chunk.loadReference( markerFile, "csv")
   chunk.updateTransform()   

where #markerFile is the full path of the CSV .txt


secondly, chunk.detectMarkers( type = TargetCircular12bit, tolerance=50 ) gives me errors so i stick with default without parameters but i hope i can have it


any insights appreciated!

9
Python and Java API / set focus to a chunk
« on: April 29, 2015, 10:23:46 PM »
hi,

in python, i would if i can set focus to a newly added chunk (make it the active chunk before processing, so that i can see the process update as it goes and visually detects any problems in the middle)

thanks a lot!

10
Python and Java API / replace photo
« on: April 29, 2015, 10:14:47 PM »
hi

im scanning human
i have been trying and searching but i can't seem to find the right python to do the "replace path" GUI function that i needed to replace photos with projection to photos with clean texture

code:

for i in range (len(chunk.cameras)):
      camera = chunk.cameras
      camera.photo.open( camera.photo.path.replace( chunkNum_proj, chunkNum_calTex) )

chunkNum_proj and chunkNum_calTex is before/after folder names

the above code runs but then the texture is black and when i double click on any of the photos to check if it's replaced, it pops up a dialog "can't load image:" { path of new image}   (but the path is correct)


any advice/ sample code appreciated!

11
General / import cameras basic understanding
« on: April 13, 2015, 07:06:40 PM »
hi,

any insight on how to use "import cameras"?

Im scanning a quantity of human with fixed array of cameras.
I wish to accelerate the processing time
so i did:
1) mask by background
2) use OpenCL card for dense point cloud

I'm wondering about the import camera functions which i never use, and is greyed out after i imported the photos. i just don't understand how it works.

I was thinking: if i align photos for the first scan, then export cameras, since the cameras didn't move, then for the subsequent scans, i can just import the cameras without the time consuming "align photos" (and since openCL doesn't accelerate this step), but i can't get it work

any insight on how to use "import cameras". and can it skip the align photos step, is appreciated.
thanks!!

12
Hi,

ya you can optionally have a different head as input. this is because with our 3D scanning experience, serious projects need a higher res head than body, to allow good closeup.
Of course this also means you can replace a head of another person.

this video actually does this but don't have dedicated details yet.
https://vimeo.com/113464531

i wish to post more updates soon :)

13
Thanks
Quadruped is indeed in our coming feature list :)

14
Introducing Quantum Human
We are excited to introduce our latest Digital Character system:
Quantum Human
AUTOMATIC HUMAN MODELLING & RIGGING FROM ARBITRARY MESH
www.quantum-human.com

We believe body 3D scan users can vastly benefit from it because any A-pose character can be topologized and rigged in few minutes, even you don't have any knowledge on topology and Rigging, your scan will come alive and moving in few minutes!
Besides 3D scans, 3D sculpts e.g. from Zbrush is another great source of input. The system basically accept arbitrary topology and only analyse the shape and then plug everything into your shape.

As you see from the demos in the site, the simplest mode even allows 1-click operation and your character becomes alive.

Sneak Peek Video that inputs a 3D scan model and 1-click operation:
http://vimeo.com/113461164

more videos and features:
http://quantum-human.com/?page_id=496


15
My rig is basically only for fully body scan. I found that in Batch processing window, the new (after v1.0) "optimize camera alignment" -
pre-1.0 versions do not have this and i use PS batch to align-dense cloud->mesh without problems.
so will this option automatically improve camera alignment and how should i use it?

thanks for any hints

Pages: [1] 2