nesian42ryukaiel / videoframepy

First Web + Python project.
MIT License
0 stars 0 forks source link

All hierarchy in the current Python package project must be modified #3

Open wholesomemoon opened 3 years ago

wholesomemoon commented 3 years ago

In my perspective, it's better to change the entire directory structure of this project like this repository if both server and client projects are implemented as python. Otherwise it may be also a good idea to separate server and client projects into independent directories.

wholesomemoon commented 3 years ago

Note that the nodejs-based 3rd-party repository may also help you to organize your own directory hierarchy well.

nesian42ryukaiel commented 3 years ago

working on it...

nesian42ryukaiel commented 3 years ago

done, I think

wholesomemoon commented 3 years ago

nope, clearly wrong. main.py should not exist.

wholesomemoon commented 3 years ago

note that the current logic is just a mixture of the server and the client. you have to separate them into two independent projects. client will read image sequences and request them into the server. all the server needs to do is to encode the byte array from the client into jpg image, do not forget to save it. Then send a response to the client side