Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Java demo-Text Detection, Object Tracking #264

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

Open
bluehatch wants to merge 3 commits into opencv:main
base: main
Choose a base branch
Loading
from bluehatch:main

Conversation

@bluehatch
Copy link

@bluehatch bluehatch commented Jun 28, 2024

This PR is about creating Java demos (#251). The implementation model is as follows:

  • Text Detection
  • Object Tracking

The Java demo used OpenCV's java implementation JavaCV.

I will continue developing Java demos for other models in the future.

fengyuentau reacted with thumbs up emoji
Copy link
Member

@fengyuentau fengyuentau left a 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?

bluehatch reacted with thumbs up emoji
Copy link
Author

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.
You can install Maven here. For convenience, let's consider including a maven wrapper that can be used without installing Maven.

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.*;
Copy link

@opencv-alalek opencv-alalek Jul 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

org.bytedeco.opencv

This doesn't look as original OpenCV Java API.

/cc @asmorkalov

Copy link

@asmorkalov asmorkalov Jul 7, 2024

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.

Copy link
Member

@fengyuentau fengyuentau Jul 8, 2024

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)?

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

Reviewers

@asmorkalov asmorkalov asmorkalov left review comments

@fengyuentau fengyuentau fengyuentau left review comments

@opencv-alalek opencv-alalek opencv-alalek left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /