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

Added a function check_point which enables user to select the object in anyway they like(not just dragging from topleft to bottom right) #3

Merged
merged 3 commits into from Sep 29, 2015

Conversation

adithyaselv
Copy link
Contributor

selecting the object in other ways like bottom left to top right or other combinations threw this error

Error detected at line 48.
Error detected in file /home/adithya/devel/dlib-18.17/dlib/../dlib/image_processing/correlation_tracker.h.
Error detected in function void dlib::correlation_tracker::start_track(const image_type&, const dlib::drectangle&) [with image_type = numpy_rgb_image].

Failing expression was p.is_empty() == false.
void correlation_tracker::start_track()
You can't give an empty rectangle.

so to make it comfortable for the user, I wrote a simple function to solve the issue.

Regards,
Adithya Selvaprithiviraj

@adithyaselv adithyaselv reopened this Sep 20, 2015
bikz05 added a commit that referenced this pull request Sep 29, 2015
Added a function check_point which enables user to select the object in anyway they like(not just dragging from topleft to bottom right)
@bikz05 bikz05 merged commit d9bbe2b into bikz05:master Sep 29, 2015
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.

None yet

2 participants