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

Improve python processing using asyncio #15

Merged
merged 3 commits into from
May 4, 2020
Merged

Improve python processing using asyncio #15

merged 3 commits into from
May 4, 2020

Conversation

crisidev
Copy link
Contributor

@crisidev crisidev commented May 4, 2020

Hello,
first of all, thanks for this amazing PoC! I have improved the Python processing with asyncio and adding an object which will be more maintainable.

The new version uses a little bit less CPU and it is more fluid in my tests. I have also added an argument parser with defaults to allow people to easily tune parameters.

@fangfufu
Copy link
Owner

fangfufu commented May 4, 2020

Thanks! :) Feel free to contribute more!

@fangfufu fangfufu merged commit 616d563 into fangfufu:master May 4, 2020
@crisidev
Copy link
Contributor Author

crisidev commented May 4, 2020

I will.. I would like to find a way to start both the node application and the python fake cam app from the same script, but it is not working fine so far. I guess we could just add a bash script, but meh..

@fangfufu
Copy link
Owner

fangfufu commented May 4, 2020

Or you could use the Docker version and type in docker-compose up.

@crisidev
Copy link
Contributor Author

crisidev commented May 4, 2020

Ah, fair enough!

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