diff options
author | Théo de la Hogue | 2023-09-27 23:08:38 +0200 |
---|---|---|
committer | Théo de la Hogue | 2023-09-27 23:08:38 +0200 |
commit | 2d59cfc56590ed356a30d28cc52c00b533ab7a9e (patch) | |
tree | d5e94d4d99f97f1d1c2c2833feb8c9c11c23cbf1 /docs/user_guide/areas_of_interest/heatmap.md | |
parent | 66b84b019fe760a2cb9901a9f17b2d202d935ba4 (diff) | |
download | argaze-2d59cfc56590ed356a30d28cc52c00b533ab7a9e.zip argaze-2d59cfc56590ed356a30d28cc52c00b533ab7a9e.tar.gz argaze-2d59cfc56590ed356a30d28cc52c00b533ab7a9e.tar.bz2 argaze-2d59cfc56590ed356a30d28cc52c00b533ab7a9e.tar.xz |
Removing hidden sections and chapters.
Diffstat (limited to 'docs/user_guide/areas_of_interest/heatmap.md')
-rw-r--r-- | docs/user_guide/areas_of_interest/heatmap.md | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/docs/user_guide/areas_of_interest/heatmap.md b/docs/user_guide/areas_of_interest/heatmap.md deleted file mode 100644 index 450c033..0000000 --- a/docs/user_guide/areas_of_interest/heatmap.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: Heatmap ---- - -Heatmap -========= - -[AOIFeatures](../../argaze.md/#argaze.AreaOfInterest.AOIFeatures) provides [Heatmap](../../argaze.md/#argaze.AreaOfInterest.AOIFeatures.Heatmap) class to draw heatmap image. - -## Point spread - -The **point_spread** method draw a gaussian point spread into heatmap image at a given pointer position. - -![Point spread](../../img/point_spread.png) - -## Heatmap - -Heatmap visualisation allows to show where a pointer is most of the time. - -![Heatmap](../../img/heatmap.png) - -```python -from argaze.AreaOfInterest import AOIFeatures - -# Create heatmap of 800px * 600px resolution -heatmap = AOIFeatures.Heatmap((800, 600)) - -# Initialize heatmap -heatmap.init() - -# Assuming a pointer position (x, y) is moving inside frame -...: - - # Update heatmap at pointer position - heatmap.update((x, y), sigma=0.05) - - # Do something with heatmap image - ... heatmap.image - -```
\ No newline at end of file |