You can use the ZomB Dashboard, It has multiple target tracking support. Once installed:
- make sure you team number is set (set it, then exit and re-open Visual ZomB)
- Add a camera view (see note at bottom)
- Click the ... button next to targets
- add targets, giving them names and setting colors (if desired)
- in java, send to the targets (see below)
Target format:
widthxheight+top,left where all numbers are normalized (-1 to 1)
z.Add("targetname", width+"x"+height+"+"+top+","+left);
camera view notes:
You must create a camera instance in your code, connecting to the switch directly is not supported yet (wait a few days)