Fix Semantic Segmentation color of Motorcicle
This commit is contained in:
parent
30c2b12bef
commit
39fa6d5190
|
@ -45,8 +45,8 @@ namespace detail {
|
||||||
// { 0u, 0u, 90u}, // caravan
|
// { 0u, 0u, 90u}, // caravan
|
||||||
// { 0u, 0u, 110u}, // trailer
|
// { 0u, 0u, 110u}, // trailer
|
||||||
// { 0u, 0u, 142u}, // license plate
|
// { 0u, 0u, 142u}, // license plate
|
||||||
{ 0u, 0u, 230u}, // motorcycle = 25u,
|
{ 0u, 0u, 230u}, // motorcycle = 24u,
|
||||||
{ 0u, 60u, 100u}, // bus = 24u,
|
//{ 0u, 60u, 100u}, // bus = 25u,
|
||||||
// { 0u, 80u, 100u}, // train
|
// { 0u, 80u, 100u}, // train
|
||||||
{119u, 11u, 32u}, // bicycle = 26u,
|
{119u, 11u, 32u}, // bicycle = 26u,
|
||||||
//{150u, 120u, 90u}, // tunnel
|
//{150u, 120u, 90u}, // tunnel
|
||||||
|
|
|
@ -38,9 +38,8 @@ namespace rpc {
|
||||||
Water = 21u,
|
Water = 21u,
|
||||||
Terrain = 22u,
|
Terrain = 22u,
|
||||||
Truck = 23u,
|
Truck = 23u,
|
||||||
Bus = 24u,
|
Motorcycle = 24u,
|
||||||
Motorcycle = 25u,
|
Bicycle = 25u,
|
||||||
Bicycle = 26u,
|
|
||||||
Any = 0xFF
|
Any = 0xFF
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -226,7 +226,6 @@ void export_world() {
|
||||||
.value("Water", cr::CityObjectLabel::Water)
|
.value("Water", cr::CityObjectLabel::Water)
|
||||||
.value("Terrain", cr::CityObjectLabel::Terrain)
|
.value("Terrain", cr::CityObjectLabel::Terrain)
|
||||||
.value("Truck", cr::CityObjectLabel::Truck)
|
.value("Truck", cr::CityObjectLabel::Truck)
|
||||||
.value("Bus", cr::CityObjectLabel::Bus)
|
|
||||||
.value("Motorcycle", cr::CityObjectLabel::Motorcycle)
|
.value("Motorcycle", cr::CityObjectLabel::Motorcycle)
|
||||||
.value("Bicycle", cr::CityObjectLabel::Bicycle)
|
.value("Bicycle", cr::CityObjectLabel::Bicycle)
|
||||||
|
|
||||||
|
|
|
@ -47,9 +47,8 @@ crp::CityObjectLabel ATagger::GetLabelByFolderName(const FString &String) {
|
||||||
else if (String == "Water") return crp::CityObjectLabel::Water;
|
else if (String == "Water") return crp::CityObjectLabel::Water;
|
||||||
else if (String == "Terrain") return crp::CityObjectLabel::Terrain;
|
else if (String == "Terrain") return crp::CityObjectLabel::Terrain;
|
||||||
else if (String == "Truck") return crp::CityObjectLabel::Truck;
|
else if (String == "Truck") return crp::CityObjectLabel::Truck;
|
||||||
else if (String == "Bus") return crp::CityObjectLabel::Bus;
|
|
||||||
else if (String == "Motorcycle") return crp::CityObjectLabel::Motorcycle;
|
else if (String == "Motorcycle") return crp::CityObjectLabel::Motorcycle;
|
||||||
else if (String == "Bicycle") return crp::CityObjectLabel::Motorcycle;
|
else if (String == "Bicycle") return crp::CityObjectLabel::Bicycle;
|
||||||
|
|
||||||
else return crp::CityObjectLabel::None;
|
else return crp::CityObjectLabel::None;
|
||||||
}
|
}
|
||||||
|
@ -257,7 +256,6 @@ FString ATagger::GetTagAsString(const crp::CityObjectLabel Label)
|
||||||
CARLA_GET_LABEL_STR(Water)
|
CARLA_GET_LABEL_STR(Water)
|
||||||
CARLA_GET_LABEL_STR(Terrain)
|
CARLA_GET_LABEL_STR(Terrain)
|
||||||
CARLA_GET_LABEL_STR(Truck)
|
CARLA_GET_LABEL_STR(Truck)
|
||||||
CARLA_GET_LABEL_STR(Bus)
|
|
||||||
CARLA_GET_LABEL_STR(Motorcycle)
|
CARLA_GET_LABEL_STR(Motorcycle)
|
||||||
CARLA_GET_LABEL_STR(Bicycle)
|
CARLA_GET_LABEL_STR(Bicycle)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue