360 Moving Regions of Interest
See this sample code on how to add a moving region of interest to a 360 video.
Step by Step Instructions
- Run the GUI and choose the first initial region For how to add initial regions see Creating a New Scene.
- If you change the name, make sure to update this line on 360_moving_RegionsOfInterest.py with your new name:
REGION_1_NAME = 'player1'
- Run the script 360_moving_RegionsOfInterest.py and try to follow the path you would like to follow with the region (if you hadn't set the opacity of the initial region to not be visible, just ignore that any previous region code may not show the region move correctly, you will adjust this in the next step).
- Run 360_moving_RegionsOfInterest_Replay.py and press the 1-9 keys to set however many key frame points you need to create an accurate path. You can click and drag on the slider along the bottom to move through the session and set points (usually whenever there is a change in direction or velocity is best).
Again, ignore the previous fixation region. To more easily track the gaze point, you can toggle off the visibility of all the replay data, except for the gaze point (including moving the heatmap slider to the left).
- This will save the updated information to the "moving_regions.csv" file
- Now you can re-run the 360_moving_RegionsOfInterest.py and verify that it is moving correctly and you can track views along the full path.
See 5:49 in this video for detailed instructions