Skip to content
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

Epytext documentation. #13

Merged
merged 5 commits into from
Jul 30, 2024
Merged

Epytext documentation. #13

merged 5 commits into from
Jul 30, 2024

Conversation

kkeroo
Copy link
Collaborator

@kkeroo kkeroo commented Jul 16, 2024

The PR is not yet ready for merge. I pushed just two files to check if the documentation format is correct. if anything comes to your mind @tersekmatija and @jkbmrz please say.

Do you agree we proceed like this?

"""ImageOutputParser class for image-to-image models (e.g. DnCNN3, zero-dce etc.)
where the output is modifed image (denoised, enhanced etc.).

@param input: Node's input. It accepts the output of the Neural Network node.

Choose a reason for hiding this comment

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

I guess the input and out are used for linking?

IMO output_is_bgr is better if in constructor itself?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Left it also in the parser itself as discussed.

depthai_nodes/ml/parsers/image_output.py Outdated Show resolved Hide resolved
@kkeroo kkeroo requested a review from tersekmatija July 18, 2024 12:49
Node's input. It is a linking point to which the Neural Network's output is linked. It accepts the output of the Neural Network node.
out : Node.Output
Parser sends the processed network results to this output in form of messages. It is a linking point from which the processed network results are retrieved.
nn_passthrough : Node.Input

Choose a reason for hiding this comment

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

Wouldn't this be connected as:

CameraNode -> NN -> Parser -> NN -> Parser?

Or are we doing this in a different manner here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, it's NN->NN->Parser. The the first NN output also goes to parser. Now, I am thinking that actually both blobs can be joined into one

depthai_nodes/ml/messages/creators/detection.py Outdated Show resolved Hide resolved
depthai_nodes/ml/messages/creators/depth.py Outdated Show resolved Hide resolved
depthai_nodes/ml/messages/creators/detection.py Outdated Show resolved Hide resolved
depthai_nodes/ml/messages/creators/keypoints.py Outdated Show resolved Hide resolved
depthai_nodes/ml/parsers/image_output.py Outdated Show resolved Hide resolved
depthai_nodes/ml/parsers/keypoints.py Outdated Show resolved Hide resolved
depthai_nodes/ml/parsers/keypoints.py Outdated Show resolved Hide resolved
depthai_nodes/ml/parsers/mediapipe_hand_landmarker.py Outdated Show resolved Hide resolved
depthai_nodes/ml/parsers/mediapipe_palm_detection.py Outdated Show resolved Hide resolved
@kkeroo kkeroo merged commit 61b6613 into main Jul 30, 2024
1 check passed
@kkeroo kkeroo deleted the docs branch July 31, 2024 09:57
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.

3 participants