One of the body's most crucial blood cell kinds is the white blood cell. White blood cells, called leukocytes, are crucial for the body's defence mechanism and against hazardous foreign substances, tumour cells, and infectious bacteria. This paper suggests a computer-based automated system for detecting white blood cells using the YOLOV8 transformer and white blood cell analysis in digital images of blood cells. The Generate process uses Yolov8. In Generate, this will produce image processing in the form of annotation results on each type of white blood cell and dataset with COCO format. The DETR Model training conducted in this study is to increase the accuracy value of the white output of the blood cell picture formation. Test results using recall, precision, f1 score and object detection values. In the lymphocyte and basophil datasets, the number of white blood cell images used is only 10 images. Following the results of training from yolov8 using Roboflow, the results were increased relatively high, with an average increase of 0.68 in all five images of white blood cells. This test also gets an average improvement in detection results from Yolo to DETR, getting a fairly significant result of 68%, which is because YOLO cannot handle undetected objects (which are not in the training dataset; furthermore, DETR can handle multiple objects in a single image. Typically, detecting traditional objects such as YOLO requires repeatedly multiple object detection with a fixed batch size