Signed-off-by: Djordje Senicic <[email protected]> --- .../desc_tidl_demo_dogbreeds.html | 7 +++++++ tidl_apps/tidl_demo_dogbreeds/runTidlDogBreeds.sh | 14 ++++++++++++++ .../tidl_demo_dogbreeds.desktop | 9 +++++++++ 3 files changed, 30 insertions(+) create mode 100644 tidl_apps/tidl_demo_dogbreeds/desc_tidl_demo_dogbreeds.html create mode 100644 tidl_apps/tidl_demo_dogbreeds/runTidlDogBreeds.sh create mode 100644 tidl_apps/tidl_demo_dogbreeds/tidl_demo_dogbreeds.desktop
diff --git a/tidl_apps/tidl_demo_dogbreeds/desc_tidl_demo_dogbreeds.html b/tidl_apps/tidl_demo_dogbreeds/desc_tidl_demo_dogbreeds.html new file mode 100644 index 0000000..1c1744c --- /dev/null +++ b/tidl_apps/tidl_demo_dogbreeds/desc_tidl_demo_dogbreeds.html @@ -0,0 +1,7 @@ +<h1>TIDL Demo with Classification of Several Dog Breeds, 2xEVE+1xDSP</h1> +<h2>Purpose:</h2> +<p>This application demonstrates Deep Learning custom (TI prepared) classification of similar objects, based on J11 network topology.</p> +<p>Both EVE and one DSP cores are used for processing (frame-based pipeline), using pre-recorded clip (320x320).</p> +<p>On devices without only DSPs are used</p> +<p>Exit demo by doing right-click on image window</p> + diff --git a/tidl_apps/tidl_demo_dogbreeds/runTidlDogBreeds.sh b/tidl_apps/tidl_demo_dogbreeds/runTidlDogBreeds.sh new file mode 100644 index 0000000..7896417 --- /dev/null +++ b/tidl_apps/tidl_demo_dogbreeds/runTidlDogBreeds.sh @@ -0,0 +1,14 @@ +cd /usr/share/ti/tidl/examples/classification + +if cat /proc/device-tree/model | grep "AM574" +then + ./tidl_classification -g 2 -d 1 -e 2 -l ./toydogs/toydogsnet.txt -s ./toydogs/toydogclasses.txt -i ./clips/toydogs_854x480.mp4 -c ./stream_config_j11_toydogs.txt +else + numdsp=2 + if cat /proc/device-tree/model | grep "AM571" + then + numdsp=1 + fi + echo "NUMDSPs is $numdsp" + ./tidl_classification -g 1 -d $numdsp -e 0 -l ./toydogs/toydogsnet.txt -s ./toydogs/toydogclasses.txt -i ./clips/toydogs_854x480.mp4 -c ./stream_config_j11_toydogs.txt +fi diff --git a/tidl_apps/tidl_demo_dogbreeds/tidl_demo_dogbreeds.desktop b/tidl_apps/tidl_demo_dogbreeds/tidl_demo_dogbreeds.desktop new file mode 100644 index 0000000..c1fe5d5 --- /dev/null +++ b/tidl_apps/tidl_demo_dogbreeds/tidl_demo_dogbreeds.desktop @@ -0,0 +1,9 @@ +#!/usr/bin/env xdg-open +[Desktop Entry] +Name=J11v2 Dog Breeds using pre-recorded clip (1xDSP+2xEVE) +Icon=/usr/share/matrix-gui-2.0/apps/images/tidl-icon.png +Exec=runTidlDogBreeds.sh +Type=Application +ProgramType=gui +Categories=tidl +X-Matrix-Description=/usr/share/matrix-gui-2.0/apps/tidl_demo_dogbreeds/desc_tidl_demo_dogbreeds.html -- 2.17.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
