# Api results on Object detection

**URL:** <https://discuss.roboflow.com/t/api-results-on-object-detection/5691>\
**Category:** 🤝  Community Help\
**Created:** [May 9, 2024, 4:48am UTC](https://discuss.roboflow.com/t/api-results-on-object-detection/5691 "2024-05-09T04:48:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Syed\_Hasan\_Ali](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/syed_hasan_ali/32/2555_2.png) [@Syed\_Hasan\_Ali](https://discuss.roboflow.com/u/Syed_Hasan_Ali)\
**Post date:** [May 9, 2024, 4:48am UTC](https://discuss.roboflow.com/t/api-results-on-object-detection/5691/1 "2024-05-09T04:48:42Z")

</div>

I am working on dot net project for detecting seven segments digits on meters using roboflow Api which takes frame or image through webcam and give Api results.

Trained my dataset through coco json format.

After deploying my project. I used the roboflow Api in my dot net project.

There are few things that I found.

1. When checking my project on roboflow universe, with “try with webcam”.

> **[How to Use the ocrscale Object Detection API](https://universe.roboflow.com/hstech/ocrscale/model/2?webcam=true)**
>
> Learn how to use the ocrscale Object Detection API (v2, 2024-05-08 2:39pm), created by Hstech

The speed at which objects are getting is amazing and accuracy is also up to the mark.  
But when I try it in my dot net project it takes 1 to 2 second to return results. Is there another way to do runtime detection in dot net instead of Api as “try with webcam” is more faster than my roboflow Api which only takes one image and returns result after a sec or two.

Since in my project I am also using webcam to detect particular frame and hit my Api. But issue is speed , the universe “try with webcam” is way faster on getting results back.

What to do to get the same speed. Is there another way or am I missing something?

1. Secondly in my dot net project using webcam the results some times do not give accurate results but when checking my project in roboflow universe and using “try with webcam” results are much better and accurate in comparison to my project.

I tested 10 to 30 similar images on my project vs webcam on roboflow universe. Each image i.e. “ob1.png” is showing more accuracy in roboflow universe try with webcam option but same image “ob1.png” using roboflow Api has less accuracy in my dot net project.

So how to tackle it.

Here are some images in my project through webcam.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/b/b98498fc2159ded9bf6e58f7687cc0eae80c68c1.jpeg)

results are 14943 but per image is 014943. it takes two to five tries to get accurate.

If I try same image with roboflow universe.

Sorry one image is allowed to upload.

In robolflow universe it detects 100% accuracy of given picture while my project Api is less accurate. Here in images you can see it is missing 0 while robolfow webcam detects each object.

I have tried multiple other images and same accuracy difference found, the results are much better on roboflow universe.

Project: ocrscale  
Browser: Google Chrome  
This is my project link

> **[How to Use the ocrscale Object Detection API](https://universe.roboflow.com/hstech/ocrscale/model/2)**
>
> Learn how to use the ocrscale Object Detection API (v2, 2024-05-08 2:39pm), created by Hstech

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [May 30, 2024, 4:49am UTC](https://discuss.roboflow.com/t/api-results-on-object-detection/5691/2 "2024-05-30T04:49:26Z")

</div>

Closed on May 30, 2024, 4:49am UTC

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
