Strange artifacts showing on right side of preview image
See original GitHub issueI just converted the vehicle-detection-adas-002
to the blob format and tried running it through a similar pipeline as the second tutorial. It partially works and it does manage to recognize vehicles quite accurately but seems to show some weird green and pink bars on the right hand side of the preview image:
I did re-compile the depthai-api module to run on my board which is a 64 bit version of linux: Linux NanoPi-Fire3 4.4.172-s5p6818 #1 SMP PREEMPT Mon Nov 11 11:24:09 CST 2019 aarch64 aarch64 aarch64 GNU/Linux
I am also using python 3.7 and opencv 3.4.9 if that makes any difference?
Here is the output from depthai after running the python script:
python3 vehicle_detection.py
Using Custom Calibration File: depthai.calib
XLink initialized.
Sending device firmware "cmd_file": /home/pi/depthai-python-extras/depthai.cmd
Successfully connected to device.
Loading config file
watchdog started Attempting to open stream config_d2h
1000
Successfully opened stream config_d2h with ID #0!
Closing stream config_d2h: ...
Closing stream config_d2h: DONE.
WARNING: Version (dev) does not match (unknown & 8c6328c8acd1086542b47d09b4b192ec1143914c)
CNN configurations read: vehicle-detection-adas-0002.json
depthai: Calibration file is not specified, will use default setting;
config_h2d json:
{"_board":{"_homography_right_to_left":[0.988068163394928,0.0029474012553691864,5.067617416381836,-0.008765067905187607,0.9921473264694214,-8.795275688171387,-8.449587767245248e-06,-3.603489403758431e-06,1.0]},"_load_inBlob":true,"_pipeline":{"_streams":[{"name":"metaout"},{"name":"previewout"},{"name":"meta_d2h"}]},"ai":{"calc_dist_to_bb":false},"board":{"clear-eeprom":false,"left_fov_deg":69.0,"left_to_rgb_distance_m":0.0,"left_to_right_distance_m":0.03500000014901161,"override-eeprom":false,"store-to-eeprom":false,"swap-left-and-right-cameras":false},"depth":{"padding_factor":0.30000001192092896}}
Attempting to open stream config_h2d
Successfully opened stream config_h2d with ID #1!
Writing 1000 bytes to config_h2d
!!! XLink write successful: config_h2d (1000)
Closing stream config_h2d: ...
Closing stream config_h2d: DONE.
Read: 4248000
Attempting to open stream inBlob
Successfully opened stream inBlob with ID #2!
Writing 4248000 bytes to inBlob
!!! XLink write successful: inBlob (4248000)
Closing stream inBlob: ...
Closing stream inBlob: DONE.
depthai: done sending Blob file vehicle-detection-adas-0002.blob
Attempting to open stream outBlob
Successfully opened stream outBlob with ID #0!
Closing stream outBlob: ...
Closing stream outBlob: DONE.
CNN input width: 672
CNN input height: 384
CNN input num channels: 3
Host stream start:meta_d2h
Opening stream for read: meta_d2h
Attempting to open stream meta_d2h
Successfully opened stream meta_d2h with ID #4!
Starting thread for stream: meta_d2h
Started thread for stream: meta_d2h
Host stream start:metaout
Opening stream for read: metaout
Attempting to open stream metaout
Successfully opened stream metaout with ID #5!
Starting thread for stream: metaout
Started thread for stream: metaout
Host stream start:previewout
Opening stream for read: previewout
Attempting to open stream previewout
Successfully opened stream previewout with ID #0!
Starting thread for stream: previewout
Started thread for stream: previewout
depthai: INIT OK!
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
Screen or images showing Artifacts or Distortion in Windows ...
Is videoplay back having lines and frame issues? Follow this guide to fix screen or images showing Artifacts or Distortion in Windows.
Read more >Random black square/artifacts flickering right side top screen
If the artifacts show up in the picture, then the issue is with the hardware and/or software that's displaying stuff to your screen...
Read more >High Sierra screen artifacts - Apple Community
All those lighter elements are artifacts that are like ghosting of things that were displayed earlier - like fb page or icons of...
Read more >GPU Artifacting: Common Causes & How to Fix It - Cybersided
GPU artifacting can manifest itself in a variety of ways, from weird lines in the distance, strange and out of place looking textures,...
Read more >Very rare black artifacts on right side top screen issue
Very random time, like 1 per month, I have this weird artifacts, dots or squares I dont know how to call them, because...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@alex-luxonis Yup, figured it out. Thought I was building latest but it turns out I was not. Everything works as expected now, thanks!
Hi @ConnorChristie ,
Yes we have seen that too on some models like at the bottom here: https://docs.luxonis.com/tutorials/openvino_model_zoo_pretrained_model/#trying-other-models
There’s some alias occurring and we’re working to figure out why. If you notice those pixels are a strange remapping from the left side of the image where red and green come over but not blue.
Sorry we should have had this up as a known issue.