This ROS package enables you to crop the scene from Kinect (input topic type: PCLpointcloud). You can even enable fitting a plane to remove the ground from the scene and by adjusting correct parameter you can get the desired object from the scene. code available on my Github.
White dots are original scene and rgb dots are from the cropped cloud. Values for the volume of cuboid are coming from sliders.