This project focuses on detecting anomalies in pill images using an autoencoder-based deep learning model. The dataset used is the MVTEC Anomaly Detection Dataset, which provides training and testing samples for both good and defective pills. The objective was to explore different anomaly detection algorithms and determine the most effective one. The autoencoder model demonstrated the best performance, making it the final choice.