nesian42ryukaiel / videoframepy

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

Problems with the absence of sample codes #5

Open wholesomemoon opened 3 years ago

wholesomemoon commented 3 years ago

Currently, I'm trying to import videoframepy into my own Python code. I want to use the supported features, but I don't know how to use it because any sample doesn't exist. I hope you to solve this problem in the future.

nesian42ryukaiel commented 3 years ago

Situation: yes I have cv2 extract frames from a video, then sending each frames via POST to the "supposed" server. And I'm doing this all alone.

Question: if I can't keep my mock "server" code in my current working repository, where should I put it? Also, would my (probably the only one) sample code yet to be produced, be a single file which includes both client and server side together in one nice file, or have two codes running like now?

wholesomemoon commented 3 years ago

It depends on the situation. However, in this case, I think it is reasonable to put only client sample code because the server is already implemented somewhere, and we are using a package that can communicate with the server that is implemented somewhere. Therefore, I think we just need to show how the client code uses the videoframepy package in the samples folder.

wholesomemoon commented 3 years ago

The approach I've just proposed is not to place server code in the git repository, but only focus on the client code using the package. However I would appreciate your own suggestion if there is any other good reasonable approaches.