Giter Site home page Giter Site logo

Comments (19)

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

Actually it should be possible to plot vmaf scores to a graph, even on a per frame basis. Were asking vmaf to output to a xml file. All we'd have to do is to parse that data and then plot it. Are you also suggesting that we track subsequent runs as well?

from vmaf-gui.

rohitghali avatar rohitghali commented on August 15, 2024

Subsequent runs? Didn't understand.

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

In your comment it looked like what you were proposing was to be able to compare multiple files (multiple runs of vmaf)

from vmaf-gui.

rohitghali avatar rohitghali commented on August 15, 2024

Im actually looking for an option for the vmaf values in the XML file to be plotted on a graph. So that it is easy to judge instead of digging into the XML. Current implementation works fine. But after the XML is generated, if vmaf values of individual frames is plotted against the vmaf value. It'd be a more intuitive output.

from vmaf-gui.

rohitghali avatar rohitghali commented on August 15, 2024

images
Something like this.

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

I see what you mean. And we want to compare each frame to the average score?

from vmaf-gui.

rohitghali avatar rohitghali commented on August 15, 2024

It is already comparing each frame right? In the XML.log it shows a vmaf of every frame. Im talking about making a graph or some kind of presentable way of outputting it instead of XML.

from vmaf-gui.

rohitghali avatar rohitghali commented on August 15, 2024

I don't know how hard it is to implement, but it'd be great.

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

Like I said, I'd have to use an xml reader to parse out those individual values and then make a pop up form or something to display it. Should be pretty doable

from vmaf-gui.

rohitghali avatar rohitghali commented on August 15, 2024

And also, it is unpacking the whole video, both source and compressed ones which takes up huge amount of disk space. NMKODER is somehow giving a vmaf value of two files without that. Much more efficient. Check it out once. I don't know how they're doing it, but to calculate vmaf, it is not taking up so much space.

from vmaf-gui.

rohitghali avatar rohitghali commented on August 15, 2024

And how do I select different models available?

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

I'd need to add a form control for that. In previous versions of vmaf gui this was possible but for the 2.0 release I was too lazy to fix it

from vmaf-gui.

rohitghali avatar rohitghali commented on August 15, 2024

Oh. I hope you'll add it. Thanks.

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

I was able to extract the correct data from the xml log but I've never used the chart form control before and I could use some help on how to bind the data to the control

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024
public void showResults(string path)
        {
            var doc = XDocument.Load(path);


            var frames = from frame in doc.Root.Descendants("frame")
                         select frame;

            var pooled_metrics = from metric in doc.Root.Descendants("pooled_metrics")
                                 where metric.Attribute("name").Value == "vmaf"
                                 select metric;

           

            DataPointCollection data = null;
            foreach(var frame in frames)
            {
                double frameNum = double.Parse(frame.Attribute("frameNum").Value);
                double vmafScore = double.Parse(frame.Attribute("vmaf").Value);
                data.AddXY(frameNum, vmafScore);
                Console.WriteLine(frame);
            }
            
            //TODO Bind vmaf data to results form control
            
        }

from vmaf-gui.

rohitghali avatar rohitghali commented on August 15, 2024

I'm really sorry man. No idea about C#. Hope someone helps.

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

Current progress: 95dc5e0
Still working on getting the mean vmaf score from the xml file but LINQ is giving me a hard time

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

Finished feature branch here: #8

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

https://github.com/ThatNerdUKnow/vmaf-gui/releases/tag/2.1.0
Release for this feature

from vmaf-gui.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.