Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to see inputs for all the three cases #3

Open
kartikpodugu opened this issue Dec 8, 2022 · 0 comments
Open

Unable to see inputs for all the three cases #3

kartikpodugu opened this issue Dec 8, 2022 · 0 comments

Comments

@kartikpodugu
Copy link

kartikpodugu commented Dec 8, 2022

Using the example code given, I am able to run all the three tasks.

  1. Image Recognition
  2. Object Detection
  3. Image Segmentation

All the three cases, I am not able to see any input.

I directly see the output.

For image recognition

I see output in the following manner.

image 1 is recognized as 'Dungeness crab, Cancer magister' (class #118) with 4.008301% confidence
image 2 is recognized as 'Pekinese, Pekingese, Peke' (class #154) with 94.110559% confidence
image 3 is recognized as 'beach wagon, station wagon, wagon, estate car, beach waggon, station waggon, waggon' (class #436) with 45.094899% confidence
image 4 is recognized as 'window screen' (class #904) with 17.228071% confidence
image 5 is recognized as 'backpack, back pack, knapsack, packsack, rucksack, haversack' (class #414) with 87.362380% confidence

For Object Detection

I see a figure with bounding boxes, and once I close the figure,

detected 3 objects in image                           
                                                      
class_desc: surfboard                                 
<jetson.inference.Detection object>                   
   -- ClassID: 43                                     
   -- Confidence: 0.894777                            
   -- Left: 816.0                                     
   -- Top: 214.0                                      
   -- Right: 3051.0                                   
   -- Bottom: 1309.0                                  
   -- Width: 2235.0                                   
   -- Height: 1095.0                                  
   -- Area: 2447325.0                                 
   -- Center: (1933.5, 761.5)                         
                                                      
class_desc: spoon                                     
<jetson.inference.Detection object>                   
   -- ClassID: 51                                     
   -- Confidence: 0.687434                            
   -- Left: 1015.0                                    
   -- Top: 184.0                                      
   -- Right: 3079.0                                   
   -- Bottom: 1760.0                                  
   -- Width: 2064.0                                   
   -- Height: 1576.0                                  
   -- Area: 3252864.0                                 
   -- Center: (2047.0, 972.0)                         
                                                      
class_desc: orange                                    
<jetson.inference.Detection object>                   
   -- ClassID: 56                                     
   -- Confidence: 0.783603                            
   -- Left: 1692.0                                    
   -- Top: 664.0                                      
   -- Right: 2526.0                                   
   -- Bottom: 2051.0                                  
   -- Width: 834.0                                    
   -- Height: 1387.0                                  
   -- Area: 1156758.0                                 
   -- Center: (2109.0, 1357.5)                        
                                                      

But I don't see any input

For Image Segmentation

I see a figure, again with something printed on the figure, and when i close the figure, I see

-----------------------------------------            
 ID  class name         count   %                    
-----------------------------------------            
  0  background         16320   0.159375             
  1  aeroplane              0   0.000000             
  2  bicycle                0   0.000000             
  3  bird                   0   0.000000             
  4  boat                   0   0.000000             
  5  bottle                 0   0.000000             
  6  bus                    0   0.000000             
  7  car                    0   0.000000             
  8  cat                    0   0.000000             
  9  chair                  0   0.000000             
 10  cow                    0   0.000000             
 11  diningtable            0   0.000000             
 12  dog                    0   0.000000             
 13  horse                  0   0.000000             
 14  motorbike              0   0.000000             
 15  person             24000   0.234375             
 16  pottedplant            0   0.000000             
 17  sheep                  0   0.000000             
 18  sofa               62080   0.606250             
                                                     

But, again i don't see any input.

I didn't really understand what is happening.
Need help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant