From b183d3733b151cb913660a102e1d054e2f53bc24 Mon Sep 17 00:00:00 2001 From: Bijan Date: Wed, 16 Jul 2025 18:19:25 +0200 Subject: [PATCH] Some more todo comments and adapted factor for blur kernel --- project/main.py | 19 ++++-------------- .../__pycache__/block_black.cpython-310.pyc | Bin 1019 -> 1019 bytes .../__pycache__/pixelation.cpython-310.pyc | Bin 1175 -> 1175 bytes project/obfuscation/blurring.py | 2 +- 4 files changed, 5 insertions(+), 16 deletions(-) diff --git a/project/main.py b/project/main.py index a078438..ee3420a 100644 --- a/project/main.py +++ b/project/main.py @@ -84,27 +84,16 @@ def main(): - - -#TODO: weiterhin problem mit OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized. -#TODO: OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/. -#TODO: das fixen ggf. diese 3 dinger entfernen - #TODO: VToonify - "Server" erstellen und einbinden +#TODO: neue technik einbinden UGatIt -#TODO: Pixel anzahl festlegen, nicht größe der Pixel -#TODO: neue technik einbinden - -#TODO: Blurring auch anpassen Kernel, wo macht 43 sinn - -#TODO: Techniken hinzufügen -#TODO: Bars nach Oberkategorie gruppieren? -#TODO: Möglicherweise Metriken anpassen +#TODO: Metrik --> Zu wie viel % weicht der Emotionsvektor jeweils ab, und davon der Durchschnitt #TODO: Verteilung von Gesichtern und Objekten Visualisieren mit Heatmap - +#TODO: Die Berechnung jeder einzelnen Metrik überprüfen +#TODO: Die Validitätsprüfung der Daten überprüfen if __name__ == '__main__': diff --git a/project/obfuscation/__pycache__/block_black.cpython-310.pyc b/project/obfuscation/__pycache__/block_black.cpython-310.pyc index ec18dc6a021a62a79650561f578874b43bba739f..2e6020b90d3b0105716689268e13b046229e2590 100644 GIT binary patch delta 20 acmey({+pdUpO=@50SMNdF5k%gff)cl>jppo delta 20 acmey({+pdUpO=@50SGQ?n{4F%zzhI8-vxpI diff --git a/project/obfuscation/__pycache__/pixelation.cpython-310.pyc b/project/obfuscation/__pycache__/pixelation.cpython-310.pyc index d20ac9dc0eddcbfbae47ff235e826d86d14459dc..482d683f3c750b82d97292cc23e584262736da7e 100644 GIT binary patch delta 50 zcmbQvIh~U)pO=@50SMe?mS-$x+Q|2sk&$onFGgubM#0Hq%=wIBliQeE8965Nuyir9 F001{o3+Vs= delta 50 zcmbQvIh~U)pO=@50SM-FmS;q=ZRC5+$SAh?7o#*IqvT{U=6puE$!*N7i~^H+Sh^T_ E06K&W5dZ)H diff --git a/project/obfuscation/blurring.py b/project/obfuscation/blurring.py index 1d246ce..acd0134 100644 --- a/project/obfuscation/blurring.py +++ b/project/obfuscation/blurring.py @@ -8,7 +8,7 @@ class Blurring(ObfuscationTechnique): """ def __init__(self): - self.strength = 0.5 #15% of smaller dim (w/h) + self.strength = 0.5 #50% of smaller dim (w/h) @staticmethod def _calc_kernel(h, w, strength,) -> int: