Early detection of melanoma skin cancer is crucial in improving prognosis and saving lives. This research aimed to optimize the classification of melanoma images using the Adaboost algorithm. Employing a dataset of 10,000 melanoma images, the study combined the Canny method for image segmentation, Hu Moments for feature extraction, and the Adaboost algorithm for classification. The 5-fold cross-validation results revealed an average accuracy of 61.52%. While the precision consistently surpassed recall, indicating the model's conservative nature in predicting positive cases. The outcomes align with previous research, emphasizing the challenges in melanoma classification. This study contributes to the domain by showcasing the potential and areas of improvement for machine learning in early melanoma detection. Future research is recommended to explore hybrid models and diversify data sources for enhanced robustness and generalizability.