Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Question about expanding streams (scaling). #391

Closed
1 task done
epigraphe opened this issue Oct 3, 2023 · 3 comments
Closed
1 task done

Question about expanding streams (scaling). #391

epigraphe opened this issue Oct 3, 2023 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@epigraphe
Copy link

epigraphe commented Oct 3, 2023

Search before asking

  • I have searched the Supervision issues and found no similar feature requests.

Question

Now I am using your example, processed for launching on streamlit. Everything works as expected, the camera sees people and counts them.
Now I need to scale the system. Roughly speaking, on the home page of Streamlit I will have 6 cameras, each of which should detect people and display their current number.
Is this possible within one server? If I simply copy a working recognition block 6 times within one script, will everything work together?
I understand that this will take a large amount of resources, we are ready to purchase video cards and other power for this, but the question here will be, will this work in principle?

Additional

No response

@epigraphe epigraphe added the question Further information is requested label Oct 3, 2023
@SkalskiP SkalskiP self-assigned this Oct 3, 2023
@SkalskiP
Copy link
Collaborator

SkalskiP commented Oct 3, 2023

Hi, @epigraphe 👋🏻 Do you run inference locally or over the API?

@epigraphe
Copy link
Author

epigraphe commented Oct 3, 2023

Everything works on one machine and with one script. I don’t want to flood and I won’t copy it again))), I already posted an example of the script earlier, here.
#390 (comment)

Now it works on a CPU with an 8n model, we plan to transfer it to a GPU

@onuralpszr
Copy link
Collaborator

@epigraphe If you want to run for 6 camera what you can do is If you wanna do via "ultralytics" you
can do "multhread-tracking" example explain here or you can setup a inference server and call via that as well.

@roboflow roboflow locked and limited conversation to collaborators Oct 3, 2023
@onuralpszr onuralpszr converted this issue into discussion #393 Oct 3, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants