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

Performans #60

Closed
yldzmuhammed opened this issue Mar 30, 2020 · 6 comments
Closed

Performans #60

yldzmuhammed opened this issue Mar 30, 2020 · 6 comments

Comments

@yldzmuhammed
Copy link

Hi @MaJerle,

Great thanks for such beatifull library.

I have some performance concern. Have you done any performance test?

Is it possible to make a http camera server with this library?

Stm32 reads camera data over dcmi, serves via esp32 over uart. Is it possible, can uart speed overcome this?

@MaJerle
Copy link
Owner

MaJerle commented Mar 30, 2020

This is not library performance concern, it is UART concern then.
That needs to be evaluated on your side.

STM32 will handle data faster than UART can do it, I'm sure about that.

@yldzmuhammed
Copy link
Author

In fact at this point we are sharing same ideas. STM32 definatly can handle faster than uart. But will client side effect from it? I mean when client connect to the server, will it be smooth or will it freeze most of the time? What do you think?

@MaJerle
Copy link
Owner

MaJerle commented Mar 30, 2020

This I cannot say. Here library has unfortunately nothing to do. I would think but I dont know how to make lib more attractive from performance point of view.

You have to calculate FPS, resolution and UART speed.

@yldzmuhammed
Copy link
Author

yldzmuhammed commented Mar 30, 2020

Can you help with calculation?

My res let say 800x480, 565 RGB and 30 fps. What is the correct way to do that?

@MaJerle
Copy link
Owner

MaJerle commented Mar 30, 2020

Sorry, this is not the right place to calculate it. It is anyway, 8004802*30 bytes per second.

@yldzmuhammed
Copy link
Author

yldzmuhammed commented Mar 31, 2020

You are right. Thanks for help.

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