Wrong Roboflow return result after prediction
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- computer-vision, machine-learning
Direzione di ricerca
Inizia con la chiamata model.predict("test.jpg", confidence=40, overlap=0).json() e riproduci le coordinate riportate per test.jpg. Confronta questi risultati con l’output della Roboflow UI e con la visualizzazione salvata, quindi determina perché le bounding boxes differiscono. Il lavoro è completato quando i risultati dell’API e della UI coincidono per questa riproduzione oppure quando la discrepanza è documentata con una risoluzione chiara.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi
I am trying out the api to return the result. The result of the bounding box seem to be off despite when I do the roboflow save action to save the image to visualize the bounding box. The save action shows the correct position of the bounding box but not the return result. Any advice?
predict = model.predict("test.jpg", confidence=40, overlap=0).json()
gives when the python return the json result:
{'x': 508.5, 'y': 212.5, 'width': 263.0, 'height': 225.0, 'confidence': 0.9291292428970337, 'class': 'car', 'image_path': 'test.jpg', 'prediction_type': 'ObjectDetectionModel'}
{'x': 233.0, 'y': 164.0, 'width': 40.0, 'height': 34.0, 'confidence': 0.8354455232620239, 'class': 'car', 'image_path': 'test.jpg', 'prediction_type': 'ObjectDetectionModel'}
{'x': 347.5, 'y': 173.0, 'width': 53.0, 'height': 146.0, 'confidence': 0.7597783803939819, 'class': 'person', 'image_path': 'test.jpg', 'prediction_type': 'ObjectDetectionModel'}
whereas if i drop the image into the roboflow ui to do the detection, using confidence level of 40 and overlap of 0, on the roboflow ui , it is
{
"predictions": [
{
"x": 406.5,
"y": 170,
"width": 211,
"height": 180,
"confidence": 0.929,
"class": "car"
},
{
"x": 277.5,
"y": 138.5,
"width": 43,
"height": 117,
"confidence": 0.84,
"class": "person"
},
{
"x": 186.5,
"y": 131.5,
"width": 31,
"height": 27,
"confidence": 0.784,
"class": "car"
}
]
}
- Lingua principale
- Python
- Stelle
- 629
- Fork
- 140
- Merge medio
- 2g 2h
- PR unite (30g)
- 5
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di roboflow/roboflow-python
-
RLE segmentation mask visible in dataset thumbnail, but invisible in annotation preview/editor Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
roboflow/roboflow-python#505 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
roboflow/roboflow-python#433 ·
-
Dataset Download Stuck Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
roboflow/roboflow-python#429 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
roboflow/roboflow-python#427 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
roboflow/roboflow-python#426 ·
Tutte le issue di roboflow/roboflow-python
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
canonical/paas-charm#368 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
tech debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
addition to tracking list Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
StevenBlack/hosts#3256 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
qualcomm/qai-appbuilder#275 ·