A processor-implemented object detection method is provided. The method receives an input image, generates a latent variable that indicates a feature distribution of the input image, and detects an object in the input image based on the generated latent variable.
Object detection and learning method and apparatus