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

Remove datatime from imshow #100

Open
gersmit opened this issue Apr 1, 2021 · 6 comments
Open

Remove datatime from imshow #100

gersmit opened this issue Apr 1, 2021 · 6 comments

Comments

@gersmit
Copy link

gersmit commented Apr 1, 2021

Dear sir or madam,

My name is Ger from the Netherlands and have a question about Onvif datatime.
Everything is working well but i have the problem that when i image from cap2 = cv2.VideoCapture('rtsp://, also the date and time are visseble in the cv2.imshow('frame2', frame2)
Can you explane to me how remove date/time or how i remove the seconds from the time from Onvif.

The problem is, when i use the rectangle for camera-detection the seconds give a rectangle everytime the seconds change.

many thanks in advance foor helpen making an solution for this.

Greetings Ger

@ssieb
Copy link

ssieb commented Apr 1, 2021

You have to go to the camera configuration and disable the timestamp.

@gersmit
Copy link
Author

gersmit commented Apr 2, 2021

Dear @ssieb
Thanks for answer and possible solution.
No more thought of it and opened the camera via Icee.
Unfortunately, there is no way to adjust the time settings. Do you know any other options?

In the attachment the problem I am having with Python
onvif-sec-rectangle

Thanks and greetings
Ger

@ssieb
Copy link

ssieb commented Apr 2, 2021

It's very strange that the camera doesn't let you disable the overlays. I guess you'll have to cut those sections out with software or get your motion detection to ignore those areas.

@gersmit
Copy link
Author

gersmit commented Apr 2, 2021

That i was trying to do.
But i am not a virtuose in Python and wil ignore the above lines of the screen.
How, i have to find out.

Anyway, thanks for helping me
Ger

@ssieb
Copy link

ssieb commented Apr 2, 2021

I have no idea. You'll have to look at the docs of whatever you're using for motion detection. I'm guessing that's opencv from your variable names.

@gersmit
Copy link
Author

gersmit commented Apr 3, 2021

I made a if / else and filtering the small rectangle out.
This works but missing the small parts.
I search further and see, perhaps someone no if it is possible to configer the timestamp by Python in the url.

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

No branches or pull requests

2 participants