Replies: 4 comments 6 replies
-
Thanks for your nice comments! - If you have any frames from a video that you can share, I'd love to be able to share them here. Please send then to gopro-overlay [at] time4tea.net . Of course, please don't feel obliged. Currently there isn't a facility for max/min/avg of any metric. This is a good suggestion - I'll have a think about how this could be implemented. |
Beta Was this translation helpful? Give feedback.
-
So I tried to understand the code a bit. My suggestion for inclusion of Min/Max Values would be: Add in gopro-dashboard.py in the "main" under the processing Loop (with PoorTimer("processing").timing():) an addtional call to a function frame_meta.process(timeseries_process.calculate_minmax()). In this function, just iterate (as in calculate_odo()) through the time series and compute the min/max of "all" (needed) metrics. I would suggest to store them as the other metrics in the timeseries with a clear name which allows also to acces the value when only the metric is known (e.g. "odo.max" and "odo.min"). Storing this single value in the same way as the other metrics is a bit sloppy, however it allows on the one hand to use them as the other metrics in layouts and on the other hand excess them in every frame. I think also the function "def metric_accessor_from(name):" from layout_xml.py needs to be adapted to include the new metrics. Other needed changes I currently do not see, however, I have not implemented it ;) In addtion, such an implementation would allow to use these "new" metrics in widgets: For example, one could use in the layout.xml file a statement such as What do you think of these suggestion? If you think it is meaningful, I can also provide code. |
Beta Was this translation helpful? Give feedback.
-
Hey @time4tea great project! Already made an awesome dashboard for my road bike racing footage. Sorry if I’m hijacking, but I would like to add to the suggestion of @KosmoJoe the ability to display remaining distance. Is that doable? |
Beta Was this translation helpful? Give feedback.
-
I am looking into this. |
Beta Was this translation helpful? Give feedback.
-
Hi,
first of all thank you for this extremely usefull and flexible tool to make nice overlays to go-pro videos. It is really fun to play with it.
I started with adapting the example xml files for my personal perference. I would like to realize an overlay with a text saying:
"Distance (m) 340/1523"
where the 340 is the distance from the start and the 1523 is the total distance. While to former I was able to realise with the help of your documentation using the odo metric, the latter I dont't know how to achieve. Is there the possiblity to include text with "MAX(odo)"? This would also be interesting for speed/height/slope.
Bests
KosmoJoe
Beta Was this translation helpful? Give feedback.
All reactions