The White-Blood-Cell-Detection-Dataset
has been used for automatic identification and counting of white blood cell types. (It has been modified and augmented) . Download the dataset, unzip and put
the Training
, Testing
, and Validation
folders in the working directory.
Follow these steps to set up your environment:
-
Clone the YOLOv7 model:
Remove-Item -Path models\yolov7 -Recurse -Force git clone https://github.com/WongKinYiu/yolov7.git models\yolov7
-
Clone the Segment Anything model:
Remove-Item -Path models\segment-anything -Recurse -Force git clone https://github.com/facebookresearch/segment-anything.git models\segment-anything
-
Install the required Python packages:
pip install -r requirements.txt
After you've classified the white blood cells, if you want to extract lymphocyte cells and check if the cell is normal or abnormal (acute leukemia blast), you should download the Segment Anything Model (SAM) weights by running the following command:
python Download_sam_weights
- Run detectcell.py
python detectcell.py