Rule: Program-rule-1
loading x elements...

Name: Program-rule-1

Version: 2

Discussion Thread

Creator: pritambhc@gmail.com

This Rule reacts to program_symbol_1 and runs the Program Opencv_program_1. It builds an output image as multi-layered elliptical tracker around lower part of human and circular multi layered tracker around football using opencv python library, yolo-v3 weight file, yolo-v3 configuration file and yolo-v3 label names file.

ID: 586

Created: Oct. 16, 2019, 4:54 a.m.

full definition:

The below is the JSON description of this object.

It is annotated with links to the documentation of each component.

You can hide fields with default values to make things clearer, and copy it to a clipboard to make creating similar Rules and Options easier.

Rule

{ "name" : "Program-rule-1", "description" : "This Rule reacts to program_symbol_1 and runs the Program Opencv_program_1. It builds an output image as multi-layered elliptical tracker around lower part of human and circular multi layered tracker around football using opencv python library, yolo-v3 weight file, yolo-v3 configuration file and yolo-v3 label names file.", "dependencies" : [

Dependency

{ "symbol" : "program_symbol_1" }
], "threshold" : 1.0, "trigger" :

Trigger

{ }
, "actions" : [

Create a Message

{ "type" : "create_message", "message_components" : [

Text message component

{ "type" : "text", "text" : "Either enter the URL of an image or upload an image file." }
] }
,

Create a Tag

{ "type" : "create_tag", "symbol" : "!set_status_message", "comment" : "Waiting for input." }
,

Create a Tag

{ "type" : "create_tag", "symbol" : "!scenario_chat_text_input_status", "comment" : "enabled-text:Either enter the URL of an image or upload an image file." }
,

Create a Tag

{ "type" : "create_tag", "var" : "highlighting_tag_1", "symbol" : "!scenario_chat_text_input_status", "comment" : "enabled-once-highlighted-text:Either enter the URL of an image or upload an image file." }
,

Create a Tag

{ "type" : "create_tag", "symbol" : "!scenario_chat_file_input_status", "comment" : "enabled" }
,

Create a Tag

{ "type" : "create_tag", "var" : "highlighting_tag_2", "symbol" : "!scenario_chat_file_input_status", "comment" : "enabled-once-highlighted" }
,

Create an Option

{ "type" : "create_option", "var" : "demo-multi-layered-tracker-by-opencv-and-yolov3", "name" : "demo-multi-layered-tracker-by-opencv-and-yolov3", "description" : "Uses an uploaded image or an image URL and runs multi layered tracker by opencv and yolo-v3 files on it.", "confidence" : 1000.0, "trigger" :

Trigger

{ "repeat" : [ "inputFile" ], "arguments" : [

File filter (for search)

{ "type" : "file", "_comment" : "This reacts to any file. If it's a ?user_input_command_file, takes the text and interprets it as a URL. If it's a ?user_input_uploaded_file, instead uses the file itself as an image.", "var" : "inputFile" }
] }
, "actions" : [

Create a Tag

{ "type" : "create_tag", "var" : "runMessage", "symbol" : "!set_status_message", "comment" : "Running human and football multi layred tracker by opencv and yolo-v3 on input file ... (this may take some minutes)" }
,

Create a Tag

{ "type" : "create_tag", "symbol" : "!nullify", "arguments" : [

Variable

{ "type" : "variable", "var" : "highlighting_tag_1" }
] }
,

Create a Tag

{ "type" : "create_tag", "symbol" : "!nullify", "arguments" : [

Variable

{ "type" : "variable", "var" : "highlighting_tag_2" }
] }
,

Execute a Program

{ "type" : "execute_program", "program" : "Opencv_program_1", "arguments" : { "input_file" :

Variable

{ "type" : "variable", "var" : "inputFile" }
} }
,

Create an Option

{ "type" : "create_option", "var" : "postprocess-demo-multi-layered-tracker-by-opencv-and-yolov3", "name" : "postprocess-demo-multi-layered-tracker-by-opencv-and-yolov3", "confidence" : 9999, "trigger" :

Trigger

{ }
, "actions" : [

Create a Tag

{ "type" : "create_tag", "symbol" : "!nullify", "arguments" : [

Variable

{ "type" : "variable", "var" : "runMessage" }
] }
] }
,

Create an Option

{ "type" : "create_option", "var" : "demo-multi-layered-tracker-by-opencv-and-yolov3-ask-for-feedback", "name" : "demo-multi-layered-tracker-by-opencv-and-yolov3-ask-for-feedback", "confidence" : 9999.0, "trigger" :

Trigger

{ "arguments" : [

Rule filter (for search)

{ "type" : "rule", "var" : "theMainRule", "rule" : "Program-rule-1" }
] }
, "actions" : [

Create a Tag

{ "type" : "create_tag", "symbol" : "show_popup_ad_for_elody" }
,

Create a Tag

{ "type" : "create_tag", "var" : "theTask", "symbol" : "task_get_user_feedback", "mark_with" : ["signal"] }
] }
] }
], "existing_variables" : { "highlighting_tag_1" :

Variable

{ "type" : "tag" }
, "highlighting_tag_2" :

Variable

{ "type" : "tag" }
, "demo-multi-layered-tracker-by-opencv-and-yolov3" :

Variable

{ "type" : "option" }
} }

Rule

{ "name" : "Program-rule-1", "description" : "This Rule reacts to program_symbol_1 and runs the Program Opencv_program_1. It builds an output image as multi-layered elliptical tracker around lower part of human and circular multi layered tracker around football using opencv python library, yolo-v3 weight file, yolo-v3 configuration file and yolo-v3 label names file.", "dependencies" : [

Dependency

{ "symbol" : "program_symbol_1", "weight" : 1.0, "comment_filter" : null }
], "threshold" : 1.0, "trigger" :

Trigger

{ "repeat" : "never", "arguments" : [], "deactivate_if" : {} }
, "actions" : [

Create a Message

{ "type" : "create_message", "var" : null, "visibility" : "all", "message_components" : [

Text message component

{ "type" : "text", "text" : "Either enter the URL of an image or upload an image file." }
] }
,

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!set_status_message", "comment" : "Waiting for input.", "weight" : null, "arguments" : [], "mark_with" : [] }
,

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!scenario_chat_text_input_status", "comment" : "enabled-text:Either enter the URL of an image or upload an image file.", "weight" : null, "arguments" : [], "mark_with" : [] }
,

Create a Tag

{ "type" : "create_tag", "var" : "highlighting_tag_1", "symbol" : "!scenario_chat_text_input_status", "comment" : "enabled-once-highlighted-text:Either enter the URL of an image or upload an image file.", "weight" : null, "arguments" : [], "mark_with" : [] }
,

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!scenario_chat_file_input_status", "comment" : "enabled", "weight" : null, "arguments" : [], "mark_with" : [] }
,

Create a Tag

{ "type" : "create_tag", "var" : "highlighting_tag_2", "symbol" : "!scenario_chat_file_input_status", "comment" : "enabled-once-highlighted", "weight" : null, "arguments" : [], "mark_with" : [] }
,

Create an Option

{ "type" : "create_option", "var" : "demo-multi-layered-tracker-by-opencv-and-yolov3", "name" : "demo-multi-layered-tracker-by-opencv-and-yolov3", "description" : "Uses an uploaded image or an image URL and runs multi layered tracker by opencv and yolo-v3 files on it.", "confidence" : 1000.0, "trigger" :

Trigger

{ "repeat" : [ "inputFile" ], "arguments" : [

File filter (for search)

{ "type" : "file", "_comment" : "This reacts to any file. If it's a ?user_input_command_file, takes the text and interprets it as a URL. If it's a ?user_input_uploaded_file, instead uses the file itself as an image.", "var" : "inputFile", "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [], "equals" : null, "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "is_reserved" : null, "name_matches" : null }
], "deactivate_if" : {} }
, "display" : null, "actions" : [

Create a Tag

{ "type" : "create_tag", "var" : "runMessage", "symbol" : "!set_status_message", "comment" : "Running human and football multi layred tracker by opencv and yolo-v3 on input file ... (this may take some minutes)", "weight" : null, "arguments" : [], "mark_with" : [] }
,

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!nullify", "comment" : null, "weight" : null, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "highlighting_tag_1" }
], "mark_with" : [] }
,

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!nullify", "comment" : null, "weight" : null, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "highlighting_tag_2" }
], "mark_with" : [] }
,

Execute a Program

{ "type" : "execute_program", "var" : null, "program" : "Opencv_program_1", "arguments" : { "input_file" :

Variable

{ "type" : "variable", "nullable" : false, "var" : "inputFile" }
}, "argument_lists" : {} }
,

Create an Option

{ "type" : "create_option", "var" : "postprocess-demo-multi-layered-tracker-by-opencv-and-yolov3", "name" : "postprocess-demo-multi-layered-tracker-by-opencv-and-yolov3", "description" : null, "confidence" : 9999, "trigger" :

Trigger

{ "repeat" : "never", "arguments" : [], "deactivate_if" : {} }
, "display" : null, "actions" : [

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!nullify", "comment" : null, "weight" : null, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "runMessage" }
], "mark_with" : [] }
] }
,

Create an Option

{ "type" : "create_option", "var" : "demo-multi-layered-tracker-by-opencv-and-yolov3-ask-for-feedback", "name" : "demo-multi-layered-tracker-by-opencv-and-yolov3-ask-for-feedback", "description" : null, "confidence" : 9999.0, "trigger" :

Trigger

{ "repeat" : "never", "arguments" : [

Rule filter (for search)

{ "type" : "rule", "var" : "theMainRule", "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [], "equals" : null, "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "is_reserved" : null, "is_the_current_rule" : null, "deactivated" : null, "rule" : "Program-rule-1" }
], "deactivate_if" : {} }
, "display" : null, "actions" : [

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "show_popup_ad_for_elody", "comment" : null, "weight" : null, "arguments" : [], "mark_with" : [] }
,

Create a Tag

{ "type" : "create_tag", "var" : "theTask", "symbol" : "task_get_user_feedback", "comment" : null, "weight" : null, "arguments" : [], "mark_with" : ["signal"] }
] }
] }
], "existing_variables" : { "highlighting_tag_1" :

Variable

{ "type" : "tag", "value" : null }
, "highlighting_tag_2" :

Variable

{ "type" : "tag", "value" : null }
, "demo-multi-layered-tracker-by-opencv-and-yolov3" :

Variable

{ "type" : "option", "value" : null }
} }

all versions of this Rule:

Version 2

Version 1