QImage *img_mainicon;
img_mainicon = new QImage;
img_mainicon->load("/home/nvidia/DISK/QTproject/MaskDetectSystem02/Data/Data0617150835.bmp");
img_mainicon->scaled(ui->label_mainicon->size(),Qt::KeepAspectRatio);
ui->label_mainicon->setScaledContents(true);
ui->label_mainicon->setPixmap(QPixmap::fromImage(*img_mainicon));