nx_vidclass_research_fetch.nx source
↩ module page · 50 lines · 4970 B
1// nx_vidclass_research_fetch.nx -- SOVEREIGN Nishi researcher for the VIDEO-CLASSIFICATION SYSTEM (operator
2// 2026-07-12: "use the nishi researcher + team NOT your tools ... central library with librarian on our sovereign
3// information management plane ... researcher getting sources like ACM and all that from the ORIGINAL source
4// papers"). Uses the CANONICAL nx_research_engine (rf_fetch_bank) -> banks each source into knowledge/library/*.txt
5// = THE CENTRAL LIBRARY (foundationed by nx_library_foundation = CID+ed25519-provenance+lineage-to-god, reviewed by
6// nx_librarian_review, indexed by nishi_search) -- NOT a flat TSV/raw side-car (the no-flat-file LAW). Pulls the
7// PRIMARY literature via OpenAlex/Crossref/Semantic-Scholar (which index the ACM/IEEE/arXiv originals) + encyclopedic
8// grounding. Idempotent (banked-skip), circuit-broken, slot-throttled, crawl-polite. AUTO-GROW = the sovereign
9// nx_research_backlog (seg_store) + nx_research_cycle, NOT a per-organ file. expect_exit:0 license_tier: ORIGINAL
10import "nx_research_engine.nx"
11const K_MAGIC_8388608: i64 = 8388608
12
13func F(u: *u8, o: *u8, store: *TrustStore, out: *u8, cap: i64) -> i64 { return rf_fetch_bank(u, o, store, out, cap) }
14
15func main() -> i64 {
16 let store: *TrustStore = rf_init()
17 if (store as i64) == 0 { rf_puts("vidclass: trust store load failed\n" as *u8); return 1 }
18 rf_puts("CA roots="); rf_putn(trust_store_count(store)); rf_puts(" -- VIDEO-CLASSIFICATION field -> Central Library\n" as *u8)
19 let cap: i64 = K_MAGIC_8388608
20 let out: *u8 = sys_mmap(cap)
21 var ok: i64 = 0
22
23 rf_section("PRIMARY LITERATURE -- action/behavior recognition (OpenAlex indexes the ACM/IEEE/arXiv ORIGINALS)" as *u8)
24 ok = ok + F("https://api.openalex.org/works?search=human%20action%20recognition%20video%20deep%20learning&per-page=20" as *u8, "vidclass_lit_action" as *u8, store, out, cap)
25 ok = ok + F("https://api.openalex.org/works?search=temporal%20action%20detection%20localization%20video&per-page=20" as *u8, "vidclass_lit_temporal" as *u8, store, out, cap)
26 ok = ok + F("https://api.openalex.org/works?search=human%20pose%20estimation%20video%20keypoint&per-page=20" as *u8, "vidclass_lit_pose" as *u8, store, out, cap)
27 ok = ok + F("https://api.openalex.org/works?search=dance%20movement%20style%20recognition%20classification&per-page=20" as *u8, "vidclass_lit_dance" as *u8, store, out, cap)
28 ok = ok + F("https://api.openalex.org/works?search=emotion%20arousal%20recognition%20affective%20video%20physiological&per-page=20" as *u8, "vidclass_lit_affect" as *u8, store, out, cap)
29 ok = ok + F("https://api.openalex.org/works?search=shot%20boundary%20scene%20detection%20video%20segmentation&per-page=20" as *u8, "vidclass_lit_scene" as *u8, store, out, cap)
30 ok = ok + F("https://api.openalex.org/works?search=sexual%20behavior%20recognition%20video%20content%20analysis&per-page=20" as *u8, "vidclass_lit_behavior" as *u8, store, out, cap)
31
32 rf_section("PRIMARY -- Crossref + Semantic Scholar (cross-index the ACM/IEEE/arXiv literature)" as *u8)
33 ok = ok + F("https://api.crossref.org/works?query=video+human+action+recognition+deep+learning&rows=20&select=title,DOI,abstract,published,container-title" as *u8, "vidclass_crossref_action" as *u8, store, out, cap)
34 ok = ok + F("https://api.semanticscholar.org/graph/v1/paper/search?query=video+action+recognition+transformer&limit=20&fields=title,abstract,year,venue,externalIds" as *u8, "vidclass_s2_action" as *u8, store, out, cap)
35 ok = ok + F("https://api.semanticscholar.org/graph/v1/paper/search?query=human+pose+estimation+skeleton+action&limit=20&fields=title,abstract,year,venue,externalIds" as *u8, "vidclass_s2_pose" as *u8, store, out, cap)
36
37 rf_section("FOUNDATIONAL CONCEPTS (encyclopedic grounding for the classifier ladder)" as *u8)
38 ok = ok + F("https://en.wikipedia.org/wiki/Activity_recognition" as *u8, "vidclass_activity" as *u8, store, out, cap)
39 ok = ok + F("https://en.wikipedia.org/wiki/Optical_flow" as *u8, "vidclass_opticalflow" as *u8, store, out, cap)
40 ok = ok + F("https://en.wikipedia.org/wiki/Articulated_body_pose_estimation" as *u8, "vidclass_poseest" as *u8, store, out, cap)
41 ok = ok + F("https://en.wikipedia.org/wiki/Shot_transition_detection" as *u8, "vidclass_shotdetect" as *u8, store, out, cap)
42 ok = ok + F("https://en.wikipedia.org/wiki/Affective_computing" as *u8, "vidclass_affect" as *u8, store, out, cap)
43 ok = ok + F("https://en.wikipedia.org/wiki/Kinesics" as *u8, "vidclass_kinesics" as *u8, store, out, cap)
44
45 rf_section("OPERATOR REFERENCE (source paper)" as *u8)
46 ok = ok + F("https://www.sciencedirect.com/org/science/article/pii/S1548367325000225" as *u8, "vidclass_operator_paper" as *u8, store, out, cap)
47
48 rf_puts("VIDCLASS FIELD BANKED to Central Library: "); rf_putn(ok); rf_puts(" / 20 (primary literature + concepts; librarian foundations + reviews each)\n" as *u8)
49 return 0
50}