Files
Adwyzz (OLED Edition) 858d9d145c Add abstracted graphs + examples (#10)
* yep

* yep fix namespaces

* add gpu face mesh

* include path

* add example

* Configure VSCode debugging for the example

* Runtime arguments are overkill it seems

* Fix linting

* Fix linting (and my brain)

* fix issue

* yeppers

* You think it's funny to take screenshots of people's NFTs, huh?

Property theft is a joke to you? I'll have you know that the blockchain doesn't lie. I own it. Even if you save it, it's my property. You are mad that you don't own the art that I own.  Delete that screenshot.

* add BlazePose

* fix tiny skill issue

* fix using issue

* add hand and holistic calculators

* fix hand graph issue

* stuff

* Format all the stuff

* Create `CpuCalculator`

While leaving a kind of mess lol

* Create `GpuCalculator`

Poggers, but in parallel

* More graphs

* yep example

* Create new o!f visual tests example project

* Use the Superior target framework

* questioning the use of a questionable question mark

* pls halp

* Ignore `mediapipe/` folder for tests and examples

* Add GPU example to VSCode

* property

* change null frame exception message

Co-authored-by: Ayane <ayane@vignetteapp.org>

* `SupportedOSPlatform`: Case consistency

* Fix file encoding

* visual test

* Actuall close the graphs when disposing

* Fix `.csproj` file consistency

* Fix formatting and linting on `MediapipeDrawable`

* Fix `MediapipeDrawable` not showing

* Use a span instead of copying

* At least it disposes now...

* Round the corners of `MediapipeDrawable`

* remove unnecessary check

* increase drawable size and fill mode

* use consistent spacing

* oops

* Just a bit of formatting

and use `using` for the output image frame

* GPU WORKSWITH THIS ONE SIMPLE TRICK

LEARN HOW HE MADE BILLIONS OF DOLLARS WITH ONLY ONE LINE OF CODE

* dispose everywhere then

* add basic xmldoc

* fix lagnguage

* remove unnecessary nullable

* fix issue

* add new constructor

* Cleanup constructors

* fix xmldoc

* This is a better way to do it

* Create base `Calculator` class

* Delete `ICalculator` interface

* Polish XML doc

Also fix the stupid 💀

* Make all child calculators sealed

* Add `SupportedOSPlatform`

Can't add "Android" because some `Console` methods are unsupported

* Remove tmate debug from CI

* Polish examples more

I'm a perfectionist...?

Co-authored-by: Speykious <speykious@gmail.com>
Co-authored-by: Ayane <ayane@vignetteapp.org>
2022-01-24 18:01:22 +01:00

22 lines
611 B
C#

// Copyright (c) homuler and Vignette
// This file is part of MediaPipe.NET.
// MediaPipe.NET is licensed under the MIT License. See LICENSE for details.
using osu.Framework;
using osu.Framework.Platform;
using SeeShark.FFmpeg;
namespace Mediapipe.Net.Examples.OsuFrameworkVisualTests
{
public static class Program
{
public static void Main()
{
FFmpegManager.SetupFFmpeg("/usr/lib");
using GameHost host = Host.GetSuitableHost("visual-tests");
using var game = new OsuFrameworkVisualTestsTestBrowser();
host.Run(game);
}
}
}