Comments (4)
Hi @3zhang ,
There is no mention of a specific postprocessing function to convert the resized result back to the original image in the TensorFlow object detection tutorial. However, it's likely because the bounding boxes coordinates predicted by the model are based on the resized image. You can simply scale the bounding boxes back to the original image dimensions to get the corresponding bounding boxes in the original image.
As a work around,Calculate the scaling factor between the original image size and the resized image size.
Multiply the predicted bounding box coordinates (xmin, ymin, xmax, ymax) by the scaling factor to get the coordinates in the original image.
Meanwhile we will try modify the above visualization function with few parameters changes and check the results on original image input directly instead of resized image.
Thanks.
from models.
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.
from models.
This issue was closed due to lack of activity after being marked stale for past 7 days.
from models.
Are you satisfied with the resolution of your issue?
Yes
No
from models.
Related Issues (20)
- AttributeError: module 'tensorflow' has no attribute 'contrib' HOT 1
- Unable to use "mixed_float16" in Object detect API HOT 3
- AttributeError: module 'tensorflow.python.training.experimental.mixed_precision' has no attribute '_register_wrapper_optimizer_cls' HOT 1
- Problems installing tf-models-official HOT 5
- Bounding box is not showing HOT 4
- about the config of the mobiledet ssdlite HOT 6
- Convert the face_landmark.tflite file in your solution back to face_landmark.pb (protobuf file).
- Inception-ResNet-v2 implementation does not match the publication it references
- Could not download Multiview Pouring Dataset (Similar discussion in the Issue#8787)
- [email protected] HOT 4
- ValueError: Unknown ssd feature_extractor: ssd_mobilenet_v2_fpn_keras
- Failed to run the installation command , version problem?
- Python 3.9 is not working with tensorflow_models HOT 1
- ImportError: cannot import name 'estimator' from 'tensorflow.compat.v1'
- Retraining faster rcnn from object detection 2 api on a custom dataste
- from tensorflow.compat.v1 import estimator as tf_estimator ImportError: cannot import name 'estimator' from 'tensorflow.compat.v1'
- None of the mask rcnn models have checkpoints on the MODEL_GARDEN.md HOT 2
- RMS_Norm operand HOT 2
- How to improve the performance of the object detection example in the Android sample? HOT 2
- MaskConver README.md missing installation & use guide
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from models.