mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 16:36:30 +00:00
add ramdisk, load AI model to ramdisk and start recognition from it
rewrite zmq to DEALER and ROUTER add GET_USER command to get CurrentUser from Python all auth is on the python side inference run and validate annotations on python
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using System.IO;
|
||||
|
||||
namespace Azaion.Common.Extensions;
|
||||
|
||||
public static class StringExtensions
|
||||
{
|
||||
public static string ToFName(this string path) =>
|
||||
Path.GetFileNameWithoutExtension(path).Replace(" ", "");
|
||||
|
||||
public static string ToTimeName(this string fName, TimeSpan? ts) =>
|
||||
$"{fName}_{ts:hmmssf}";
|
||||
}
|
||||
Reference in New Issue
Block a user