Detectors page: ⤓ GIF button exports the timelapse to the browser's downloads
The GIF is the timelapse as shown (focused or global, sensors circled and labelled), 1000 px wide at most, red border during the event, time at the bottom. In file:// the browser cannot read the images' pixels, so the detectors, end-of-session and case-review pages now open through a local server (open_served, 127.0.0.1:8765, started in the background, serving out/ and data/ only). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
127892b5af
commit
55fbe2bf77
5 files changed
+94
-9
No files matched your search
@@ -19,7 +19,7 @@ import sys
|
||||
ICI = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path.insert(0, os.path.join(ICI, "..", "boucle"))
|
||||
import detecteurs # noqa: E402
|
||||
from comparaison import ROOT, open_html # noqa: E402
|
||||
from comparaison import ROOT, open_served # noqa: E402
|
||||
|
||||
CAS = os.path.join(ROOT, "agents", "diagnostic", "cas")
|
||||
|
||||
@@ -104,4 +104,4 @@ if __name__ == "__main__":
|
||||
o = p.parse_args()
|
||||
chemin = page(o.cas, o.du, o.au)
|
||||
print(chemin)
|
||||
open_html(chemin)
|
||||
open_served(chemin)
|
||||
Reference in new issue
Block a user