Skip to main content
Inspiring
November 12, 2013
Question

get data from Region of interests

  • November 12, 2013
  • 2 replies
  • 1024 views

Hi to all, who know, how can I get data from Region of interests? (Coordinates for example)? I quickly read cs6 scripting guide and can’t find information about it…. thanks

PS AE scripts can gets users name from local\domain windows  user?

Sorry for bad English

This topic has been closed for replies.

2 replies

françois leroy
Inspiring
November 14, 2013

Hi!

there is a work around, a bit complicated, but it works.

1_duplicate your comp.

2_create two null layers inside the new comp. First one at [0,0], second at [comp.width, comp.height].

3_resize your comp according to region of interest via executeCommand().

4_read the new positions of the nulls and multiply them by [-1,-1].

5_remove the duplicate.

It's a bit long, but I don't see any other way...

Cheers,

François

zipkievAuthor
Inspiring
November 15, 2013

thx all for reply, so sad hear about missing native support for direct access to Region of interests parameters, i hope use region of interest because i need export mask, video,and other stuff to png,  jpg, avi files, and then import back to AE  in the same place where I place Region of interests before, and now don't know haw do that...

PS  how about getting data from crop option in render queue? can i get coordinates from that place?

françois leroy
Inspiring
November 15, 2013

"how about getting data from crop option in render queue ?"

Good idea, but I'm not sure you can access the data...

If you can do it, please share :-)

Cheers,

François

Legend
November 12, 2013

I'm pretty sure Region of Interest is not accessible via scripting or expressions.