Skip to content

Conversation

@YacobBY
Copy link
Contributor

@YacobBY YacobBY commented Sep 17, 2018

Updated python code for OpenCV3.4, and readme file for clearer instructions.

Updated the functions in the main python file, like the create LBPH recognizer, to be compatible with OpenCV3.4.
Updated the functions in the create_face_model python file, like the create recognizer functions, to be compatible with OpenCV3.4.
@@ -1,43 +1,15 @@
# Human detection and Tracking
Copy link
Member

Choose a reason for hiding this comment

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

why is title removed from README?

```sh
python3 main.py /video
```
* To compile the C++ version of the code with openCV the command is:
Copy link
Member

Choose a reason for hiding this comment

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

why this whole paragraph is stripped? @YacobBY Can you please explain? the README looks way too much small with little to no information about the project.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's a mistake should be put back, is for my personal version.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Didn't realize it would commit changes I made after submitting the version to you

Copy link
Member

Choose a reason for hiding this comment

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

please resolve this issue if its a mistake



if __name__ == '__main__':
"""
Copy link
Member

Choose a reason for hiding this comment

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

what's the improvement in this refactor?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's the standard IntelliJ/Pycharm refactor. Personally I think it's more readable like this, but the most important thing is the lbph creation which got changed in OpenCV3.4.

Also might be handy to set the standard path to the video directory in the argparse.

@YacobBY YacobBY force-pushed the master branch 2 times, most recently from adaad0f to 3189003 Compare September 17, 2018 20:12
@YacobBY
Copy link
Contributor Author

YacobBY commented Sep 17, 2018

Readme should be fixed now

@prsntmaurya
Copy link
Member

Hi,
This is already resolved in issue #25, there is no need to update the code.

@YacobBY
Copy link
Contributor Author

YacobBY commented Sep 19, 2018

No you have not solved the issue. People have to manually change the broken code every time. If you fix your code you don't have to deal with people asking the same question over and over.

@arpit1997 arpit1997 reopened this Sep 20, 2018
@arpit1997 arpit1997 merged commit e08d04a into ITCoders:master Sep 20, 2018
@arpit1997
Copy link
Member

@YacobBY Sorry about closing the PR. Merged it now. Thanks for your valuable contribution

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