Skip to content

Need a proper policy on install-able binaries #56

Description

@wooksong

After building and installing nnstreamer-example in my local machine, I got the following files under ${prefix}/bin:

-rw-r--r--    get-model-image-classification-tflite.sh
-rw-r--r--    get-model-object-detection-tflite.sh
-rw-r--r--    get-model-object-detection-tf.sh
-rw-r--r--    get-model-speech-command.sh
-rwxr-xr-x    gst-launch-object-detection-tflite.sh
-rwxr-xr-x    gst-launch-object-detection-tf.sh
-rwxr-xr-x    libnnscustom_speech_command_tflite.so
-rwxr-xr-x    nnstreamer_example_cam
-rwxr-xr-x    nnstreamer_example_decoder_image_labelling
-rwxr-xr-x    nnstreamer_example_filter_performance_profile
-rwxr-xr-x    nnstreamer_example_image_classification_caffe2
-rwxr-xr-x    nnstreamer_example_image_classification_tflite
-rw-r--r--    nnstreamer_example_image_classification_tflite.py
-rwxr-xr-x    nnstreamer_example_object_detection_tf
-rwxr-xr-x    nnstreamer_example_object_detection_tflite
-rwxr-xr-x    nnstreamer_example_speech_command_tflite
-rwxr-xr-x    nnstreamer_example_two_tensor_stream
-rwxr-xr-x    nnstreamer_sink_example
-rwxr-xr-x    nnstreamer_sink_example_play

As we can see, some files have execution permission and others do not. In addition, naming conventions are mixed. They do not looks intuitive.

In my opinion, it would be better to formulate a proper policy that affects

  • naming conventions
  • install locations of binaries/get-model-* scripts/wget-ed model files
  • permissions for the scripts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions