Skip to content

Add Java demo for YuNet face detectionFeat java yunet demo#306

Open
Oscar125841 wants to merge 1 commit intoopencv:mainfrom
Oscar125841:feat-java-yunet-demo
Open

Add Java demo for YuNet face detectionFeat java yunet demo#306
Oscar125841 wants to merge 1 commit intoopencv:mainfrom
Oscar125841:feat-java-yunet-demo

Conversation

@Oscar125841
Copy link

This PR adds the Java implementation for the YuNet face detection model, resolving issue #251. It includes support for image and camera inference

@crackwitz
Copy link

crackwitz commented Feb 12, 2026

Was this PR generated by AI or did you delete all these files yourself?

Corresponding thread on the forum: https://forum.opencv.org/t/update-on-issue-251-java-demo-for-yunet-face-detection/24364

@Oscar125841
Copy link
Author

Oscar125841 commented Feb 12, 2026

Hi @crackwitz, thanks for the feedback.
​Regarding your question: I am a student preparing for GSoC and I did use AI as a collaborative tool to help me debug local environment compatibility and download issues I encountered while setting up the project.
​However, the deletions/changes in other files were accidental. I am still learning the Git workflow for large repositories and I realize now that I incorrectly staged my changes, including files I didn't intend to modify.
​I would like to fix this PR by cleaning up the commit to only include the demo.java file. Should I close this PR and open a clean one, or would you prefer me to reset this branch?

@crackwitz
Copy link

crackwitz commented Feb 12, 2026

I would recommend against opening a new PR. if you want to keep going, you should keep this PR. just add more commits to your branch or force-push.

@Oscar125841
Copy link
Author

Thank you for the guidance, @crackwitz. I will keep this PR open as you suggested. I'm currently working on cleaning up the branch to revert the accidental deletions and ensure only the demo.java file and its necessary directory structure are included. I will push the new commits shortly

@Oscar125841 Oscar125841 reopened this Feb 13, 2026
@Oscar125841
Copy link
Author

Oscar125841 commented Feb 13, 2026

Hi @crackwitz, I have cleaned up the PR. It now only contains the demo.java file and the correct directory structure. I successfully reset the branch and force-pushed to remove the accidental deletions. It's that what you told me later? or you want anything else for doing the correct PR for the contribution? I'm really new in terms of using git commands I'm so sorry for what I've done later this confusion is because I can't execute the program because I had an old version of opencv library I imagine you aren't to have this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants