Maintainers
Pricing
Enterprise
More
More
Documentation
Try Live
Rankings
Install
Blog
Docs7
Ask
New
Add Docs
Posix BSP Perf
https://github.com/zczjx/posix-bsp-perf
Admin
C++ posix bsp perf test cases and code build with Cmake
Tokens:
1,067
Snippets:
11
Trust Score:
8
License:
GPL-3.0
Update:
1 year ago
Context
Chat
Benchmark
Latest
Show doc for...
Code
Info
Show Results
Tokens:
Raw
Copy
Link
Tokens:
Raw
Copy
Link
### Example Command using Specific Config File Source: https://github.com/zczjx/posix-bsp-perf/blob/master/bsp_cases/video_objDetect/README.md Provides a concrete example demonstrating how to run video_objDetect using a specific configuration file located in the perf_cases directory, along with specified input and output video paths. ```bash ./video_objDetect --cfg ../perf_cases/video_objDetect/video_dnn.ini --video /path/to/video.h264 --output /path/to/out.h264 ``` -------------------------------- ### Example Command for dnn_objDetect (rknn, Config File) Source: https://github.com/zczjx/posix-bsp-perf/blob/master/bsp_cases/dnn_objDetect/README.md Provides an example of running dnn_objDetect using the rknn DNN type and specifying configuration options via an INI file. ```Shell ./dnn_objDetect --dnn rknn --cfg ../perf_cases/dnn_objDetect/dnn.ini --image ./bus.jpg ``` -------------------------------- ### Example Command for dnn_objDetect (rknn, Full Paths) Source: https://github.com/zczjx/posix-bsp-perf/blob/master/bsp_cases/dnn_objDetect/README.md Provides a concrete example of running dnn_objDetect using the rknn DNN type, specifying paths for the plugin, labels, model, and a specific image file. ```Shell ./dnn_objDetect --dnnType rknn --pluginPath install/lib/librknn_yolov5.so --labelTextPath ./coco_80_labels_list.txt --modelPath model/RK3588/yolov5s-640-640.rknn --imagePath ./bus.jpg ``` -------------------------------- ### Example Command with Specific Parameters Source: https://github.com/zczjx/posix-bsp-perf/blob/master/bsp_cases/video_objDetect/README.md Provides a concrete example demonstrating how to run video_objDetect using specific parameters for RKNN DNN, RKMpp decoder/encoder, RKRGA G2D, a YOLOv5 plugin, a COCO label file, a RK3588 YOLOv5 model, and specified input/output video paths. ```bash ./video_objDetect --dnn rknn --decoder rkmpp --encoder rkmpp --g2d rkrga --plugin install/lib/librga_rknn_yolov5.so --label ./coco_80_labels_list.txt --model model/RK3588/yolov5s-640-640.rknn --video /path/to/video.h264 --output /path/to/out.h264 ``` -------------------------------- ### Example Command for dnn_objDetect (rknn, Abbreviated Options) Source: https://github.com/zczjx/posix-bsp-perf/blob/master/bsp_cases/dnn_objDetect/README.md Provides another concrete example using the rknn DNN type with abbreviated command-line options (--dnn, --plugin, --label, --model, --image) for specifying paths. ```Shell ./dnn_objDetect --dnn rknn --plugin install/lib/librknn_yolov5.so --label ./coco_80_labels_list.txt --model model/RK3588/yolov5s-640-640.rknn --image ./bus.jpg ``` -------------------------------- ### Command Format with All Options Source: https://github.com/zczjx/posix-bsp-perf/blob/master/bsp_cases/video_objDetect/README.md Describes the general syntax for running the video_objDetect application, showing all available command-line options for configuring DNN, plugins, labels, models, decoders, encoders, G2D, input video, and output video. ```bash ./video_objDetect --dnn [rknn | trt] --plugin /path/to/plugin/lib.so --label /path/to/label/file.txt --model /path/to/dnn/model/file --decoder [rkmpp | ffmpeg] --encoder [rkmpp | ffmpeg] --g2d [rkrga | nvg2d] --video /path/to/video.h264 --output /path/to/out.h264 ``` -------------------------------- ### Generic Command Format for dnn_objDetect (Full Options) Source: https://github.com/zczjx/posix-bsp-perf/blob/master/bsp_cases/dnn_objDetect/README.md Shows the full command-line format for running the dnn_objDetect application, including options for specifying DNN type, plugin, labels, model, and input image. ```Shell ./dnn_objDetect --dnnType [rknn | trt] --pluginPath /path/to/plugin/lib.so --labelTextPath /path/to/label/file.txt --modelPath /path/to/dnn/model/file --imagePath /path/to/image.jpg ``` -------------------------------- ### Command Format using Config File Source: https://github.com/zczjx/posix-bsp-perf/blob/master/bsp_cases/video_objDetect/README.md Describes the alternative syntax for running the video_objDetect application by specifying a configuration file, along with input and output video paths. ```bash ./video_objDetect --cfg config.ini --video /path/to/video.h264 --output /path/to/out.h264 ``` -------------------------------- ### Generic Command Format for dnn_objDetect (Config File) Source: https://github.com/zczjx/posix-bsp-perf/blob/master/bsp_cases/dnn_objDetect/README.md Shows the command-line format for running the dnn_objDetect application using a configuration file instead of individual options. ```Shell ./dnn_objDetect --cfg config.ini --imagePath /path/to/image.jpg ``` -------------------------------- ### Checkout Tracing Branch (Git) Source: https://github.com/zczjx/posix-bsp-perf/blob/master/README.md Creates and checks out a new local branch named 'tracing' based on the 'tracing' branch from the 'origin' remote. This branch is intended for deep tracing analysis. ```Shell git checkout -b tracing origin/tracing ``` -------------------------------- ### Sync Tracing Branch with Master (Git) Source: https://github.com/zczjx/posix-bsp-perf/blob/master/README.md Fetches the latest changes from the 'master' branch on the 'origin' remote and reapplies the commits from the current branch (presumably 'tracing') on top of the fetched changes. This syncs the tracing branch with the latest master. ```Shell git pull origin master --rebase ```