nx_pair_synchrony.nx
buildroot/runtime/nx_pair_synchrony.nx
about
nx_pair_synchrony.nx -- pair-relation scoring for multi-character scenes.
Image #55: synchronized blonde pair both bent over at the beach with
matching innie aesthetic. This is the pair-level signal substrate
needs to detect/encourage.
Three pair axes:
1. POSE_SYNC — are both characters in the same/mirror pose?
2. AESTHETIC_MATCH — do they share aesthetic target (innie / hair color etc.)?
3. IDENTITY_DISTINCT — do they read as TWO people, not clones?
Pair synchrony is the OPPOSITE of identity-distinctness in one sense
(matched poses = synced) but POSE matching is independent from FACE
distinctness. Two clearly distinct faces in matched poses + matched
aesthetic = the image #55 pattern.
Output flat-array per pair:
result[0] = pose_sync_q10 (1024=identical, 0=opposite)
result[1] = pose_mirror_q10 (1024=mirrored L/R, 0=not mirrored)
result[2] = aesthetic_match_q10 (1024=same aesthetic target, 0=mismatched)
result[3] = identity_distinct_q10 (1024=distinct, 0=clones)
result[4] = scale_coherence_q10 (1024=similar body scale)
result[5] = verdict
0=DISCORDANT, 1=ASYMMETRIC, 2=MATCHED, 3=SYNCHRONIZED_PAIR
dependencies 3 imports · 1 importers
imports: nx_syscalls.nxnx_v7_bundle.nxnx_pose_classify.nx
imported by: nx_multi_pair_test.nx
structs
| none |
consts
| 35 | const NX_MAGIC_1024: i64 = 1024 |
| 37 | const NX_PAIR_RES_POSE_SYNC: i64 = 0 |
| 38 | const NX_PAIR_RES_POSE_MIRROR: i64 = 1 |
| 39 | const NX_PAIR_RES_AES_MATCH: i64 = 2 |
| 40 | const NX_PAIR_RES_DISTINCT: i64 = 3 |
| 41 | const NX_PAIR_RES_SCALE_COH: i64 = 4 |
| 42 | const NX_PAIR_RES_VERDICT: i64 = 5 |
| 43 | const NX_PAIR_RES_FIELDS: i64 = 6 |
| 45 | const NX_PAIR_V_DISCORDANT: i64 = 0 |
| 46 | const NX_PAIR_V_ASYMMETRIC: i64 = 1 |
| 47 | const NX_PAIR_V_MATCHED: i64 = 2 |
| 48 | const NX_PAIR_V_SYNCHRONIZED_PAIR: i64 = 3 |
functions
| 51 | func nx_pair_pose_sync_q10(bundle_a: *i64, bundle_b: *i64) -> i64 |
| 66 | func nx_pair_pose_mirror_q10(bundle_a: *i64, bundle_b: *i64, |
| 90 | func nx_pair_identity_distinct_q10(bundle_a: *i64, bundle_b: *i64) -> i64 |
| 107 | func nx_pair_aesthetic_match_q10(bundle_a: *i64, bundle_b: *i64) -> i64 |
| 122 | func nx_pair_scale_coherence_q10(bundle_a: *i64, bundle_b: *i64) -> i64 |
| 134 | func nx_pair_synchrony(bundle_a: *i64, bundle_b: *i64, |