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

[Port to C++] Blob Detection #85

Merged
merged 14 commits into from
Mar 28, 2023
Merged

[Port to C++] Blob Detection #85

merged 14 commits into from
Mar 28, 2023

Conversation

Khushi-Balia
Copy link
Contributor

@Khushi-Balia Khushi-Balia commented Mar 23, 2023

Resolve #51

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>
Signed-off-by: Khushi-Balia <khhbalia@gmail.com>
Copy link
Collaborator

@amanchhaparia amanchhaparia left a comment

Choose a reason for hiding this comment

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

@Khushi-Balia, requesting the below changes.

  • Add table of content in the Readme
  • Rename readme.md to README.md
  • Refer convolution and filtering code structure ie have a src, include folders.
  • Refer convolution and filtering code files and follow the similar fashion for adding the comments for the functions
  • Remove the unnecessary blob file and not required files from the folder.

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>
Signed-off-by: Khushi-Balia <khhbalia@gmail.com>
@Khushi-Balia
Copy link
Contributor Author

Made the required changes.

Comment on lines 9 to 10
- [Understanding the code](#understanding-the-code)
- [Detecting the blob](#detecting-the-blob)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can be more informative if the contents in the Readme can be divided into the different topic sections similar to this


tuple<double, double, double> getMedianPixelValues(Mat img);

#endif
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add a new line

}

return 0;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add a newline

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>
@Khushi-Balia
Copy link
Contributor Author

Updated the Readme and made the changes.

@aPR0T0
Copy link
Member

aPR0T0 commented Mar 26, 2023

@Khushi-Balia when we run the code for blob detection the window that pops-up is nearly my screen size, so just make it resizable and keep initial size of window smaller for better handling

@amanchhaparia
Copy link
Collaborator

@Khushi-Balia, in the Readme content there are certain part which referred to python functions. Kindly update them. Also move main.cpp to src.

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>
Signed-off-by: Khushi-Balia <khhbalia@gmail.com>
@Khushi-Balia
Copy link
Contributor Author

Made the windows resizable, updated the readme and file structure.

Copy link
Collaborator

@amanchhaparia amanchhaparia left a comment

Choose a reason for hiding this comment

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

  • Add a instruction of how to run the code in the Readme.
  • Below is the error encountered while running the script. I think @aPR0T0 also faced the similar issue.
    image

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>
@Khushi-Balia
Copy link
Contributor Author

Resolved the error, made the necessary changes in the Makefile.

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>
@amanchhaparia
Copy link
Collaborator

@Khushi-Balia, resize is not working. I guess you need to first define the window then resize it.

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>
@Khushi-Balia
Copy link
Contributor Author

Changed the window size and updated the readme.

Signed-off-by: Khushi-Balia <khhbalia@gmail.com>
Signed-off-by: Khushi-Balia <khhbalia@gmail.com>
@amanchhaparia
Copy link
Collaborator

@Khushi-Balia, update the PR according to the new file structure.

@amanchhaparia amanchhaparia changed the title Adding code for blob detection and readme [Port to C++] Blob Detection Mar 28, 2023
Khushi-Balia and others added 2 commits March 28, 2023 19:46
Signed-off-by: Khushi-Balia <khhbalia@gmail.com>
@amanchhaparia amanchhaparia merged commit 359f0c0 into SRA-VJTI:dev Mar 28, 2023
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