Add Java demo-Text Detection, Object Tracking#264
Add Java demo-Text Detection, Object Tracking#264bluehatch wants to merge 3 commits intoopencv:mainfrom
Conversation
fengyuentau
left a comment
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Yes, it's 3rdparty package. We do not distribute pre-built Java package with Maven Central.
There was a problem hiding this comment.
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.