Skip to content

armgit / facex

Public Imported from GitHub
0

Full face stack that runs entirely in the browser. Detection, 576-point 3D mesh, recognition, anti-spoof, smile — all WebAssembly, zero server. Apache 2.0.

755 B
Raw Blame
"""SSH to [email protected] and inspect e:/aidos."""

import paramiko, sys

c = paramiko.SSHClient()
c.set_missing_host_key_policy(paramiko.AutoAddPolicy())
c.connect("10.0.0.3", port=22, username="admin", password="1235", timeout=15)

cmds = [
    'powershell -Command "Get-ChildItem e:\\aidos -Recurse -Depth 2 | Select-Object Mode,Length,Name,FullName | Format-Table -AutoSize"',
    'powershell -Command "Get-ChildItem e:\\aidos | Measure-Object -Property Length -Sum"',
]
for cmd in cmds:
    print(f"\n$ {cmd[:120]}")
    _, out, err = c.exec_command(cmd)
    o = out.read().decode("utf-8", errors="replace")
    e = err.read().decode("utf-8", errors="replace")
    if o.strip(): print(o[:4000])
    if e.strip(): print("STDERR:", e[:1000])

c.close()