Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is the formal release V1.2.0 of SNNF(Sunplus Neural Network Framework).

Table of Contents
stylenone

Target of the V1.2.0

On the basis of v1.1.0, v1.2.0 mainly has the following updates:

...

Please get the V1.2.0 release resource here.

Before starting any work, please carefully read the instruction files such as readme.md in the document directory.

...

You can use the script we provide to start as follows:

Code Block
/SNNF/release /SNNF/release # ./snnf_demo.sh
Usage: ./bin/snnf_demo [-m|-s|-a|-h] [-i|-v|-o|option]
        Version: 1.2.0_commitV1.2.0
4211a366212d699135b3c493615c156fd28a1a14         Time: Date:   Fri Jan 2025-01-24 1314:2635:59 202555 +0800
        [-m,--model <model>] run a single model
                <model>:Age                        Det10g                     HumanAttr
                        LightFace                  OcrCls                     OcrDet
                        OcrRec                     VehicleAttr                W600kR50
                        YoloV8sOdMap               Yolov5sDetection           Yolov5sV1
                        Yolov8nClassify            Yolov8sClassify            stgcn
                        Yolov5sV2                  BotSortTrack               BotSortTrackStgcn
                        GenderAge                  Rtmdets                    YoloV10sDetection
                        YoloV8nCcpdOpti            YoloV8nDetectionBaseOpti   YoloV8nDetectionOpti
                        YoloV8nObbOpti             YoloV8nPoseOpti            YoloV8nSegmentOpti
                        YoloV8sDetection           YoloV8sDetectionBaseOpti   YoloV8sDetectionOpti
                        YoloV8sObb                 YoloV8sPose                YoloV8sSegment

                example:./bin/snnf_demo -m Yolov5sDetection
                        ./bin/snnf_demo --model HumanAttr

        [-s,--sequential <model1,model2,...>] run sequential models
                <models>:Yolov5sDetection,HumanFilter,HumanAttr
                        LightFace,Age
                        OcrDet,OcrRec
                        OcrDet,OcrCls,OcrRec
                        Det10g,W600kR50
                        YoloV8sDetection,VehicleFilter,VehicleAttr
                        YoloV8nDetectionOpti,BotSortTrack
                        YoloV8nPoseOpti,BotSortTrackStgcn
                        YoloV8nCcpdOpti,OcrRec
                        YoloV8nCcpdOpti,OcrCls,OcrRec
                example:./bin/snnf_demo -s Yolov5sDetection,HumanFilter,HumanAttr
                        ./bin/snnf_demo --sequential OcrDet,OcrCls,OcrRec
                        ./bin/snnf_demo -s YoloV8nCcpdOpti,OcrRec,imageWriter
                        ./bin/snnf_demo -s YoloV8sDetectionOpti,BotSortTrack,videoWriter -v resource/video/humanTracking.mp4
                        ./bin/snnf_demo -s YoloV8nPoseOpti,BotSortTrackStgcn,videoWriter -v resource/video/person-falling.mp4

        [-i,--image file] set image file to nn detection.
                <file>: file name
                [-c | option]: test count, this parameter is only match with -i
                example:./bin/snnf_demo -s Yolov5sDetection,HumanFilter,HumanAttr -i resource/image/person.jpg -c 2
                        ./bin/snnf_demo -s Yolov5sDetection,HumanFilter,HumanAttr --image resource/image/person.jpg -c 2

        [-v,--video file] set video file to nn detection.
                <file>: file name
                example:./bin/snnf_demo -s YoloV8sDetectionOpti,BotSortTrack,videoWriter -v resource/video/humanTracking.mp4
                        ./bin/snnf_demo -s YoloV8sDetectionOpti,BotSortTrack,videoWriter --video resource/video/humanTracking.mp4

        [-o,--output file] specify the output file name for saving results.
                <file>: file name with extension (e.g., output.jpg, output.json, output.mp4)
                This parameter must be used in conjunction with imageWriter, jsonWriter, or videoWriter.
                example:./bin/snnf_demo -s Yolov5sDetection,HumanFilter,HumanAttr,imageWriter -i resource/image/person.jpg -o output.jpg
                        ./bin/snnf_demo -s Yolov5sDetection,HumanFilter,HumanAttr,jsonWriter -i resource/image/person.jpg -o output.json
                        ./bin/snnf_demo -s YoloV8sDetectionOpti,BotSortTrack,videoWriter -v resource/video/humanTracking.mp4 -o output.mp4

        [-a,--all] run all model testing

        assist tools: imageWriter videoWriter jsonWriter BotSortTrack HumanFilter VehicleFilter

...

SNNF Sample introduction

Please refer to 《Models' Guide》.

User API

Please refer to API DOC v2.0 .