Hi @Puco ,
Firstly, Object Detector is a control. It has a property called ModelId.
When creating a model, a model ID will be generated.
So, we can put a class of things in a table and generate a model from this table.
If we have another class of things, we can create another model.
Because this is a broad question. I did a simple test.
1\ Create a dropdown control and set its Items property to:
["*****","******"] // Each model has its own ID, which is automatically generated
2\ Set the ModelId property of Object Detector control to:
Dropdown1.Selected.Value // Dropdown1 is the name of my dropdown control
If you select the first item in the drop-down list, it will only recognize the data in the first model.
If you select the second item from the drop-down list, it will only recognize the data in the second model
In addition, each model corresponds to a table.
You could set the Items property of gallery control like this(Take two tables as an example):
If(Dropdown1.Selected.Value="***" , LookUp(your first Table,String=First(ObjectDetector1.Results).TagName),Dropdown1.Selected.Value="***",LookUp(your second Table,String=First(ObjectDetector1.Results).TagName))
Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.