roboflow / roboflow/roboflow-python

Transparency (alpha) band of PNG images not used when training

Offen
#112 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Python
Sterne
629
Forks
140
Ø Merge
2 T. 2 Std.
Gemergte PRs (30 T.)
5

Beschreibung

A normal image is composed by red, green, and blue (RGB) channels. Some image format, like .png, allow to have 4, where the 4th usually it's the transparency of the image (this is called alpha channel sometimes). In most of our dataset, we exploit this extra channel to put an extra color information, the infrared band (since we use satellite images with 4 bands). When we upload PNG images with 4 bands, and then we download it back from roboflow, this information is lost, as the downloaded images have in the alpha band only 255 as value, and also the RGB values seems slightly modified.

I'm attaching to this email a link to a COCO dataset that can be uploaded to debug this problem: here

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, das Problem mit dem verknüpften COCO-Dataset und PNG-Bildern mit vier Bändern zu reproduzieren, und vergleiche die hochgeladenen Bilder mit den heruntergeladenen Ergebnissen. Als abgeschlossen gilt dies, wenn die heruntergeladenen PNGs die Werte der Alpha-/Infrarotbänder beibehalten und die RGB-Kanäle nicht unerwartet verändern.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
computer-vision
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
28/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.