Creating a Task
Context
You can create a video analysis task to use an algorithm service to analyze and process a specified video source.
Task management allows you to create video analysis tasks, view task details and list, and delete tasks.
- Choose Task Center > Task List and click Add Task.
- Choose Video Center > Video Sources and click Add Task in the Operation column of the target video source.
Prerequisites
- An algorithm service is available. For details, see Purchasing an Algorithm Package.
- A video source is available. For details, see Adding a Video Source.
Procedure
- Log in to the VIAS console.
- Choose Task Center > Task List and click Add Task.
- Set parameters according to Table 1.
Table 1 Basic task parameters Parameter
Description
Example
Task Name
Enter a task name containing 1 to 100 characters.
Only letters, digits, hyphens (-), and underscores (_) are allowed.
Intrusion detection
Type
Select Cloud or Edge.
N/A
Video Sources
Select a video source to be analyzed from the drop-down list.
Campus camera A
Visual Capability Package
Select a purchased algorithm package.
Common cloud algorithm package
Order ID
Select the order ID of the algorithm package from the drop-down list.
This parameter is only displayed for commercial algorithm packages.
cd80eef0611843ad99eee3b833xxxxxx
Algorithm Services
Select the algorithm to be used.
Intrusion detection (cloud)
Service Version
Select a function version.
1.0
- After the algorithm service and service version are selected, the ROI configuration and common parameters of the algorithm are displayed.
- ROI: For details about ROI configuration, see Configuring the ROI. Some algorithms do not require ROI configuration.
- Common Parameters: The parameters vary depending on the algorithm service version. For details about the parameters, see API Overview
- Common Configuration Templates: You can save a common configuration template. After the template is saved, the current algorithm configuration will be used when you select the algorithm for video analysis next time.
- Set parameters according to Table 1.
- Click Next to set the task execution plan.
Table 2 Basic task parameters Parameter
Description
Always
The task starts immediately and runs continuously.
Periodic
You can choose this option to schedule the task by adjusting a chart. Each time slot on the chart is at least 15 minutes long.
-
Click Next to select a mode for storing task results.
The options are OBS, DIS, Webhook, and Event Center. Event Center only supports in-cloud inference.
Table 3 Task output parameters Output Mode
Configure Output
Description
Example
OBS
File path
Select an OBS folder or path to store the task result. You must enable OBS beforehand. For how to enable OBS, see Getting Started with OBS.
N/A
DIS
Channel
Enter a channel for outputting the task result. You must create a DIS stream before using it here. For details, see Creating a DIS Stream.
N/A
Webhook
URL
Enter your webhook service URL starting with http://, https://, rtsp://, rtmp://, ftp://, or file:// with a maximum of 1000 characters.
The task result can be directly sent to the webhook URL through a POST request. For details about how to start a webhook service, see Starting a Webhook Service.
http://10.10.10.1:6006
Header
Add at least one and at most ten headers.
Click to add more.
content-type; application/json
Event Center
Result output service provided by the platform. For details, see Event Overview.
N/A
-
After you finish the configuration, click OK.
You will see the Task List page, where you can check the status and basic information of your task.
After a task is created, you can click Edit in the Operation column to modify its name, video source, and common parameters.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot