The ZED 2 doesn't have any problems while detecting the human motion or depth imaging under the environment you have mentioned.
For accurate tracking of the objects, it is important that the object is in the line of sight for the lenses and sensors to detect.
Additional Resources: