-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Java demo-Text Detection, Object Tracking #264
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for contribution 👍
I never use Java with Maven before. Could you explain what thoese pom.xml files are? Are they needed by Maven? How are they generated if needed?
Also I propose to submit a demo for a model in a PR. So could you split this one into two?
pom.xml is a file that contains Maven build information. It is usually written directly by the developer. As requested, I will split the PR into two models and include a demo for each. |
import com.beust.jcommander.UnixStyleUsageFormatter; | ||
import org.bytedeco.javacpp.BytePointer; | ||
import org.bytedeco.opencv.global.opencv_dnn; | ||
import org.bytedeco.opencv.opencv_core.*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's 3rdparty package. We do not distribute pre-built Java package with Maven Central.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not distribute pre-built Java package with Maven Central
So there is nothing for Java like Python does (pip install then use out-of-the-box)?
This PR is about creating Java demos (#251). The implementation model is as follows:
The Java demo used OpenCV's java implementation JavaCV.
I will continue developing Java demos for other models in the future.