Open Endmaril opened 7 years ago
Currently, the average quality in the field of view is approximated by computing an approximation of the portion of video covered by the field of view.
A more accurate computation would be needed to get more reliable results. We need to find a way to compute this metric precisely.
A new version of the computation has been developed using webGL to render the scene again using the log data coloring high quality tiles in red and low quality tiles in black. The program then computes the proportion of red pixels in the field fo view.
This implementation takes into account an initial rotation to align with the phone's initialization process, a rotation at the start of the video which is recomputed from the logs because it is not logged directly and the snap changes.
Tests and verifications must still be done to ensure that the transformations performed are correct but the main code works.
Log the average quality of video in the field of view at each instant of the playback. The quality must be logged to a file together with the same wall clock time used in the other log files.