This is a separation of this thread
Can TF object detection API be used to detect two objects where 1 is enclosed / bounded by the other?
Ex. face vs person - face is within the bounds of the person
This is a separation of this thread
Can TF object detection API be used to detect two objects where 1 is enclosed / bounded by the other?
Ex. face vs person - face is within the bounds of the person
The answer is Yes. You essentially don't have to worry about this --- though for various reasons, it may become a more challenging for the algorithm if you have an object enclosing another object that is almost the same size. Settings like "Face within person" or even "sunglasses within face" should be just fine.
Yes, You can. You don't have to do any extra things for that. once the detection happen and if it will found one object under some other object. it will give you output which is actually function of multi detection.