• Hardware Platform (Jetson / GPU) Jetson/TX2 • DeepStream Version 5.0-GA • JetPack Version (valid for Jetson only) JP-4.5
**• DeepStream Version ** DS-5.0 • TensorRT Version 7.X • NVIDIA GPU Driver Version (valid for GPU only) • Issue Type( questions, new requirements, bugs) • How to reproduce the issue ? – • Requirement details
Hi, we would like to detect colors of persons detected by PeopleNet or similar models.
Have you something that could be used to detect color of persons ?
Probably there could be some algorithm based on openCV … or some Deepstream model to be used as an engine so as a [SecondaryGie]
Sorry, not clear.
I took a look to TAO toolkit but I cannot see part referring to color-detection, but it could be I misunderstood suggestion.
Are you suggesting to use TAO toolkit to retrain a people model with some color dataset, to get colors and persons detected ?
Were can I find a color dataset ?
May you suggest a specific link from TAO or everything else, referring to this retraining operation for color-detection ?
Hi @mgalimberti
In opencv you can perform color detection operations by defining the color gradient value.
In deepstream, you can take reference from the deepstream-test2 for color detection.
deepstream-test2 has an example for vehicle color classifier, the config for which are defined in dstest2_sgie1_config.txt.
You can also use the color gradient method in deepstream app, but the color gradient method is very inaccurate and is largely affected by shadow and lighting.
deepatream_test2 was run and got vehicle and color recognized, …
but it is not clear how the application is mapping below colors
/* These are the strings of the labels for the respective models */
gchar sgie1_classes_str[12][32] = { “black”, “blue”, “brown”, “gold”, “green”,
“grey”, “maroon”, “orange”, “red”, “silver”, “white”, “yellow”
};
also tried to take a look to metadata include files starting from gstnvdsmeta.h
but not found the part referring color …
So question: in which metadata structure is sgie1 setting color information ?
I would like to extract color information using something like below code
thanks,