Areas Of Interest
Hello,
I'm planning an experiment where participants will watch a video while their gaze behavior is recorded with an Eyelink eye tracker.
For this, I would like to define several areas of interest (AOI) - e.g. a face - that move in the video, to later see and analyze if, how many and how long fixations have fallen into these AOIs. Is there a way to define AOIs efficiently?
Unfortunately, I'm completely new to OpenSesame and don't know much about it yet. I've tried a couple of things but haven't really found anything satisfactory yet.
Thanks in advance :)
Joel
Comments
Hi @jgideon ,
OpenSesame knows the locations of all elements on a
Canvas. You can get this information by simply iterating over aCanvasobject. Let's say that you have asketchpadcalled my_sketchpad, then you can get the names and coordinates of all elements like so:for name, element in items['my_sketchpad'].canvas: x, y, w, h = element.rect print(f'element {name}: top-left = {x}, {y}, size = {w}, {h}')So the information is there. The next step will be to figure out how to actually use this information for an AOI analysis. This part is non-standard and depends entirely on how (and with which software) you intend to conduct the analysis, so I can't say much more about it!
Hope this helps!
— Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!