nnstreamer / nnstreamer-example

Example applications of nnstreamer. Note that we have to enable the 'apptest" CI module in the near future.
GNU Lesser General Public License v2.1
77 stars 72 forks source link

[QUERY] Add query sample app using ML-API #263

Closed gichan-jang closed 3 years ago

gichan-jang commented 3 years ago

Add query query sample app using ML-API BUG: Query server does not run using excutable file while the same pipeline works well with gst-launch.

This works well..
server
gst-launch-1.0 tensor_query_serversrc host=127.0.0.1 port=3001 ! tensor_filter framework=tensorflow-lite model=./tflite_model/ssd_mobilenet_v2_coco.tflite ! tensor_decoder mode=bounding_boxes option1=mobilenet-ssd option2=./tflite_model/coco_labels_list.txt option3=./tflite_model/box_priors.txt option4=640:480 option5=300:300 ! tensor_converter ! other/tensors,num_tensors=1,dimensions=4:640:480:1,types=uint8 ! tensor_query_serversink host=127.0.0.1 port=3000 sync=false async=false
client
./nnstreamer_example_query_object_detection client
This isn't working..
server
./nnstreamer_example_query_object_detection server
client
./nnstreamer_example_query_object_detection client

In this case, the client is considered connected, but the server is still waiting for the connection..

Signed-off-by: Gichan Jang gichan2.jang@samsung.com

Self evaluation:

  1. Build test: [*]Passed [ ]Failed [ ]Skipped
  2. Run test: [ ]Passed [*]Failed [ ]Skipped
taos-ci commented 3 years ago

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #263. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.