nx_media_run.nx
buildroot/runtime/nx_media_run.nx
about
nx_media_run.nx -- EXPOSURE rung X0: a real, runnable tool (not a KAT).
Reads a real image file from the staging path, runs person-presence (R2) on
it, prints a verdict + metrics, and writes an ANNOTATED image (skin bounding
box drawn in green) you can open and see. File-driven, like nx_write_run.
input : knowledge/staging/media/frame.ppm (binary PPM)
output: stdout + knowledge/staging/media/out.txt (verdict + metrics)
knowledge/staging/media/annotated.ppm (input + bbox overlay)
This is how the capability is USED: drop a real .ppm at the input path, run
./_offc/nx_sov_build_run.elf nx_media_run
and read the verdict / open annotated.ppm.
Sovereign: syscalls + nx_image + nx_ppm + nx_presence.
license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: syscalls.nxnx_image.nxnx_ppm.nxnx_presence.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 20 | const MIN_SKIN: i64 = 50 |
| 21 | const MIN_CONC: i64 = 500 |
functions
| 23 | func gp(logfd: i64, s: *u8) -> i64 called by 1: main |
| 30 | func gn(logfd: i64, v: i64) -> i64 called by 1: main |
| 46 | func draw_box(img: *Image, x0: i64, y0: i64, x1: i64, y1: i64) -> i64 |
| 62 | func main() -> i64 |