Polygon points not added when clicking quickly

Hi everyone,

I’m using Polygons in Label Studio to label images. I notice that when I click quickly, the new polygons are not added. Please check out my screen record: https://youtu.be/bUG0dskt1Pk

What is strange is that, the problem only appears when I host Label Studio on my PC. On the Playground of Labels Studio, I can click much faster without problem: https://youtu.be/SQZT9I8BYs4

As I host the tool on my PC, it can’t be a network problem. I thought it might be my config, but below is my config:

RAM: 32GiB
CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
SSD 1TB (database and media directory of LS are stored here)

which is higher than the recommended ones.

Does anyone have the same problem? Any idea where it may come from?

Thank you!

Hey @Tai_DOAN, thanks for posting here.

I understand your frustration with the polygon labeling issue. This problem has been reported by other users as well. Unfortunately, I only have a few troubleshooting steps you can do to gather more information:

  1. Update Label Studio: Check you are using the latest version of Label Studio. Some performance improvements and bug fixes might have been implemented in newer versions.
  2. Browser Performance: Sometimes, the browser can be a bottleneck. Try using a different browser (preferably Chrome) and see if the issue persists.
  3. System Resources: Although your system specs are higher than recommended, ensure that no other heavy applications are running simultaneously, which might be consuming resources.
  4. Check for Memory Leaks: There might be memory leaks causing the slowdown. Monitor your system’s memory usage while using Label Studio to see if it spikes abnormally.
  5. Configuration Tweaks: Sometimes, tweaking the configuration settings can help. For example, increasing the number of threads allowed for Label Studio might improve performance.
  6. Network Latency: Even though you mentioned it’s not a network problem, I’m seeing that you’re using ngrok. Could the network latency be a cause of using the free ngrok instance to host your label studio instance? Is this actually local or is it hosted somewhere?

If none of these solutions work, please provide more details about your setup, and we can investigate further.

Thank you @sajarin for your quick response. I will double-check everything and go back to you.