3.4.4. Bird Master
Bird detection based on LLM. When a bird flies past your camera, it will notify you and identify the type of bird for you.
Agent Logic
First, Bird Master inputs the user ID, the device used, and the image that needs to be detected through the Start node. The image is stored by the Media node and then detected by the Bird Detection Extension node to check if there are birds and the type of birds in the image.
Subsequently, the Program node evaluates the output of the Bird Detection node to determine if there are birds. The value of hasbird and the type of birds are stored in regions and hasBird, respectively. The Condition node then evaluates the Boolean value of hasBird.
If there are birds, the location of the birds is marked, and the marked image is uploaded to the cloud storage. Then, through the Message push node, information is pushed to the user, informing them that birds have been detected and providing the marked image.
Agent Node Usage
After duplicating Bird Master, you can test run and publish Bird Master, and then call Bird Master as a node in the Agent & Agent Node of other projects. By inputting the image (using the image data directly from the Start node without storing it through Media) and session, the node's input data requirements can be met.