ultralytics / ultralytics

NEW - YOLOv8 🚀 in PyTorch > ONNX > OpenVINO > CoreML > TFLite
https://docs.ultralytics.com
GNU Affero General Public License v3.0
23.75k stars 4.74k forks source link

can i use yolov8 classification in face recognize task #11695

Closed VYRION-Ai closed 1 week ago

VYRION-Ai commented 1 week ago

Search before asking

Question

i create cropped faces dataset for some Popole, can i use yolov8 classification to do face recognize task (cropped face)?

Additional

No response

glenn-jocher commented 1 week ago

@VYRION-Ai yes, you can use YOLOv8 classification for face recognition tasks with your cropped faces dataset. Make sure your dataset is well-labeled with each individual's identity as a separate class. Here's a basic example of how you might train a model on your dataset:

yolo detect train data=your_dataset.yaml model=yolov8n-cls.pt epochs=100

Fine-tune the epochs, model type, and other parameters according to your specific requirements. Good luck with your face recognition project! 🚀

VYRION-Ai commented 1 week ago

@glenn-jocher thank you very much

glenn-jocher commented 1 week ago

@VYRION-Ai you're welcome! If you have any more questions or need further assistance, feel free to ask. Happy coding! 😊