230 lines
7.5 KiB
JSON
230 lines
7.5 KiB
JSON
{
|
|
"pipe_0": {
|
|
"node_0": {
|
|
"node_opts": {
|
|
"node_name" : "rkisp"
|
|
},
|
|
"node_opts_extra": {
|
|
"node_buff_type" : 0,
|
|
"node_buff_count" : 3,
|
|
"node_buff_size" : 1382400
|
|
},
|
|
"stream_opts": {
|
|
"stream_output" : "isp_scale_0",
|
|
"stream_fmt_out" : "image:nv12"
|
|
},
|
|
"stream_opts_extra": {
|
|
"opt_entity_name" : "rkispp_scale0",
|
|
"opt_width" : 1280,
|
|
"opt_height" : 720,
|
|
"opt_vir_width" : 1280,
|
|
"opt_vir_height" : 720,
|
|
"opt_buf_type" : 1,
|
|
"opt_mem_type" : 4,
|
|
"opt_use_libv4l2" : 1,
|
|
"opt_colorspace" : 0
|
|
}
|
|
},
|
|
"node_2": {
|
|
"node_opts": {
|
|
"node_name" : "rkisp"
|
|
},
|
|
"node_opts_extra": {
|
|
"node_buff_type" : 0,
|
|
"node_buff_count" : 3,
|
|
"node_buff_size" : 1382400
|
|
},
|
|
"stream_opts": {
|
|
"stream_output" : "isp_scale_1",
|
|
"stream_fmt_out" : "image:nv12"
|
|
},
|
|
"stream_opts_extra": {
|
|
"opt_entity_name" : "rkispp_scale1",
|
|
"opt_width" : 640,
|
|
"opt_height" : 360,
|
|
"opt_vir_width" : 640,
|
|
"opt_vir_height" : 360,
|
|
"opt_buf_type" : 1,
|
|
"opt_mem_type" : 4,
|
|
"opt_use_libv4l2" : 1,
|
|
"opt_colorspace" : 0
|
|
}
|
|
},
|
|
"node_3": {
|
|
"node_opts": {
|
|
"node_name" : "rkzoom"
|
|
},
|
|
"node_opts_extra": {
|
|
"node_buff_type" : 1,
|
|
"node_buff_count" : 0
|
|
},
|
|
"stream_opts": {
|
|
"stream_input" : "zoom_ctl_in",
|
|
"stream_output" : "zoom_ctl_out",
|
|
"stream_fmt_in" : "image:nv12",
|
|
"stream_fmt_out" : "image:nv12"
|
|
}
|
|
},
|
|
"node_7": {
|
|
"node_opts": {
|
|
"node_name" : "link_output"
|
|
},
|
|
"node_opts_extra": {
|
|
"node_buff_type" : 1,
|
|
"node_buff_count" : 0
|
|
},
|
|
"stream_opts": {
|
|
"stream_input" : "uvc_link_out_in",
|
|
"stream_output" : "uvc_link_out_out",
|
|
"stream_fmt_in" : "image:nv12",
|
|
"stream_fmt_out" : "image:nv12"
|
|
}
|
|
},
|
|
"node_10": {
|
|
"node_opts": {
|
|
"node_name" : "rkrga"
|
|
},
|
|
"node_opts_extra": {
|
|
"node_buff_type" : 0,
|
|
"node_buff_count" : 3,
|
|
"node_buff_size" : 1382400
|
|
},
|
|
"stream_opts": {
|
|
"stream_input" : "nn_data_in",
|
|
"stream_output" : "nn_data_out",
|
|
"stream_fmt_in" : "image:nv12",
|
|
"stream_fmt_out" : "image:nv12",
|
|
"stream_mode_in" : "remain_newest"
|
|
},
|
|
"stream_opts_extra": {
|
|
"opt_trans_rect" : "(0,0,1280,720)->(0,0,1280,720)",
|
|
"opt_trans_rotate": 0
|
|
}
|
|
},
|
|
"node_8": {
|
|
"node_opts": {
|
|
"node_name" : "link_output"
|
|
},
|
|
"node_opts_extra": {
|
|
"node_buff_type" : 1,
|
|
"node_buff_count" : 0
|
|
},
|
|
"stream_opts": {
|
|
"stream_input" : "nn_link_out_in",
|
|
"stream_output" : "nn_link_out_out",
|
|
"stream_fmt_in" : "image:nv12",
|
|
"stream_fmt_out" : "image:nv12"
|
|
}
|
|
},
|
|
"node_11": {
|
|
"node_opts": {
|
|
"node_name" : "rockx"
|
|
},
|
|
"node_opts_extra": {
|
|
"node_buff_type" : 1,
|
|
"node_buff_count" : 2
|
|
},
|
|
"stream_opts": {
|
|
"stream_input" : "face_detect_in",
|
|
"stream_output" : "face_detect_out",
|
|
"stream_fmt_in" : "image:nv12",
|
|
"stream_fmt_out" : "nn:stream_ai",
|
|
"stream_mode_in" : "remain_newest"
|
|
},
|
|
"stream_opts_extra": {
|
|
"opt_rockx_model" : "rockx_face_detect"
|
|
}
|
|
},
|
|
"node_12": {
|
|
"node_opts": {
|
|
"node_name" : "rockx"
|
|
},
|
|
"node_opts_extra": {
|
|
"node_buff_type" : 1,
|
|
"node_buff_count" : 2
|
|
},
|
|
"stream_opts": {
|
|
"stream_input" : "face_landmark_in",
|
|
"stream_output" : "face_landmark_out",
|
|
"stream_fmt_in" : "image:nv12",
|
|
"stream_fmt_out" : "nn:stream_ai",
|
|
"stream_mode_in" : "remain_newest"
|
|
},
|
|
"stream_opts_extra": {
|
|
"opt_rockx_model" : "rockx_face_landmark"
|
|
}
|
|
},
|
|
"node_13": {
|
|
"node_opts": {
|
|
"node_name" : "rockx"
|
|
},
|
|
"node_opts_extra": {
|
|
"node_buff_type" : 1,
|
|
"node_buff_count" : 2
|
|
},
|
|
"stream_opts": {
|
|
"stream_input" : "body_in",
|
|
"stream_output" : "body_out",
|
|
"stream_fmt_in" : "image:nv12",
|
|
"stream_fmt_out" : "nn:stream_ai",
|
|
"stream_mode_in" : "remain_newest"
|
|
},
|
|
"stream_opts_extra": {
|
|
"opt_rockx_model" : "rockx_pose_body_v2"
|
|
}
|
|
},
|
|
"node_1000": {
|
|
"node_opts": {
|
|
"node_name" : "link_output"
|
|
},
|
|
"node_opts_extra": {
|
|
"node_buff_type" : 1,
|
|
"node_buff_count" : 0
|
|
},
|
|
"stream_opts": {
|
|
"stream_input" : "st_asteria_link_in",
|
|
"stream_output" : "st_asteria_link_out",
|
|
"stream_fmt_in" : "nn:stream_ai",
|
|
"stream_fmt_out" : "nn:stream_ai"
|
|
}
|
|
},
|
|
"node_6": {
|
|
"node_opts": {
|
|
"node_name" : "rkrga"
|
|
},
|
|
"node_opts_extra": {
|
|
"node_buff_type" : 0,
|
|
"node_buff_count" : 2,
|
|
"node_buff_size" : 115200
|
|
},
|
|
"stream_opts": {
|
|
"stream_input" : "rga_in",
|
|
"stream_output" : "rga_out",
|
|
"stream_fmt_in" : "image:nv12",
|
|
"stream_fmt_out" : "image:nv12"
|
|
},
|
|
"stream_opts_extra": {
|
|
"opt_trans_rect" : "(0,0,1280,720)->(0,0,320,240)",
|
|
"opt_trans_rotate": 0
|
|
}
|
|
},
|
|
"default_mode_link": "none",
|
|
"link_0": {
|
|
"link_name" : "uvc",
|
|
"link_ship" : "0,7"
|
|
},
|
|
"link_1": {
|
|
"link_name" : "nn_isp",
|
|
"link_ship" : "2,8-8,11,1000-8,12,1000-8,13,1000"
|
|
},
|
|
"link_2": {
|
|
"link_name" : "nn_linkout",
|
|
"link_ship" : "10,8-8,11,1000-8,12,1000-8,13,1000"
|
|
},
|
|
"link_4": {
|
|
"link_name" : "uvc_zoom",
|
|
"link_ship" : "1,3,6,7-6,10"
|
|
}
|
|
}
|
|
}
|