# Output is very wrong when running fusion with svo file

**URL:** <https://community.stereolabs.com/t/output-is-very-wrong-when-running-fusion-with-svo-file/4120>\
**Category:** Python\
**Created:** [December 11, 2023, 6:56am UTC](https://community.stereolabs.com/t/output-is-very-wrong-when-running-fusion-with-svo-file/4120 "2023-12-11T06:56:56Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![emrekocdemir](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/e/96bed5/32.png) [@emrekocdemir](https://community.stereolabs.com/u/emrekocdemir)\
**Post date:** [December 11, 2023, 6:56am UTC](https://community.stereolabs.com/t/output-is-very-wrong-when-running-fusion-with-svo-file/4120/1 "2023-12-11T06:56:56Z")

</div>

Hi.  
I’m trying to run Fusion.py with 2 svos. When I open a stream with the cameras from which these files were shot, fusion does not work 100% correctly, but at least it can detect the fixed person. However, when I record this stream and try to run the fusion file with svo, I get a very problematic output.

 ![fusion](https://community.stereolabs.com/uploads/default/original/2X/3/33a0f45617ddac8326fa7e513ebdd8f4c741e2ca.png)  
This is the output i get. Cameras are approximately 60cm away from each other.

---

<div class="post-metadata">

**Author:** ![JPlou](https://community.stereolabs.com/user_avatar/community.stereolabs.com/jplou/32/1012_2.png) [@JPlou](https://community.stereolabs.com/u/JPlou)\
**Post date:** [December 11, 2023, 9:49am UTC](https://community.stereolabs.com/t/output-is-very-wrong-when-running-fusion-with-svo-file/4120/2 "2023-12-11T09:49:52Z")

</div>

Hi @emrekocdemir,

Can you share the ZED360 calibration file you’re using?  
To read SVO files with Fusion, you have to first calibrate the cameras together with ZED360, then modify the calibration file like described here: [Fusion Sample Code with SVO Files - #2 by JPlou](https://community.stereolabs.com/t/fusion-sample-code-with-svo-files/2391/2)

---

<div class="post-metadata">

**Author:** ![emrekocdemir](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/e/96bed5/32.png) [@emrekocdemir](https://community.stereolabs.com/u/emrekocdemir)\
**Post date:** [December 11, 2023, 11:01am UTC](https://community.stereolabs.com/t/output-is-very-wrong-when-running-fusion-with-svo-file/4120/3 "2023-12-11T11:01:09Z")

</div>

Hello, I calibrated the cameras and changed the json file exactly by looking at this link, but the output is in the screenshot I posted. I am sharing the json file below.

```auto
 `{
    "12345": { 
        "input": {
            "zed": {                
                "configuration": "1.svo", 
                   
                "type": "SVO_FILE"
                   
            },
            "fusion": {
                "type": "INTRA_PROCESS",
                 
                "configuration": {
                    "ip": "x",
                    "port": 30000
                      
                }
            }
        },
        "world": {
            "rotation": [ 
                0,
                0,
                0
            ],
            "translation": [ 
                0.0,
                -0.600069522857666,
                0.0
            ]
        }
    },
    
        "56789": { 
            "input": {
                "zed": {                
                    "configuration": "2.svo", 
                       
                    "type": "SVO_FILE"
                       
                },
                "fusion": {
                    "type": "INTRA_PROCESS",
                     
                    "configuration": {
                        "ip": "x",
                        "port": 30002
                          
                    }
                }
            },
            "world": {
                "rotation": [ 
                    -0.020615531131625175,
                    -0.0976293757557869,
                    0.006234345491975546
                ],
                "translation": [ 
                    0.9055558443069458,
                    -0.5770925283432007,
                    0.08244671672582626
                ]
            }
        }

}`

```

---

<div class="post-metadata">

**Author:** ![emrekocdemir](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/e/96bed5/32.png) [@emrekocdemir](https://community.stereolabs.com/u/emrekocdemir)\
**Post date:** [December 11, 2023, 1:10pm UTC](https://community.stereolabs.com/t/output-is-very-wrong-when-running-fusion-with-svo-file/4120/4 "2023-12-11T13:10:55Z")

</div>

These 2 cameras are on the same table and there is about 1 meter difference between them. Could the calibration be faulty? If it is faulty, how does the fusion I open via stream work properly?

---

<div class="post-metadata">

**Author:** ![JPlou](https://community.stereolabs.com/user_avatar/community.stereolabs.com/jplou/32/1012_2.png) [@JPlou](https://community.stereolabs.com/u/JPlou)\
**Post date:** [December 11, 2023, 1:13pm UTC](https://community.stereolabs.com/t/output-is-very-wrong-when-running-fusion-with-svo-file/4120/5 "2023-12-11T13:13:13Z")

</div>

@emrekocdemir

If the issue still happens, I’ll need to take a deeper look. Please send either here or to [support@stereolabs.com](mailto:support@stereolabs.com):

- A [ZED Diagnostic report file](https://support.stereolabs.com/hc/en-us/articles/360010101213-What-do-I-do-if-my-ZED-ZED-Mini-ZED2-ZED2i-is-not-working-)
- SVOs reproducing your issue
- The corresponding ZED 360 calibration file
- Which sample you used to get the output (the language)

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![JPlou](https://community.stereolabs.com/user_avatar/community.stereolabs.com/jplou/32/1012_2.png) [@JPlou](https://community.stereolabs.com/u/JPlou)\
**Post date:** [December 11, 2023, 1:14pm UTC](https://community.stereolabs.com/t/output-is-very-wrong-when-running-fusion-with-svo-file/4120/6 "2023-12-11T13:14:23Z")

</div>

Also, is one of your cameras upside-down?

---

<div class="post-metadata">

**Author:** ![emrekocdemir](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/e/96bed5/32.png) [@emrekocdemir](https://community.stereolabs.com/u/emrekocdemir)\
**Post date:** [December 11, 2023, 1:30pm UTC](https://community.stereolabs.com/t/output-is-very-wrong-when-running-fusion-with-svo-file/4120/7 "2023-12-11T13:30:23Z")

</div>

One of them is upside down. Yes. I will send you what you wanted by e-mail. Thanks again.

---

<div class="post-metadata">

**Author:** ![emrekocdemir](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/e/96bed5/32.png) [@emrekocdemir](https://community.stereolabs.com/u/emrekocdemir)\
**Post date:** [December 11, 2023, 1:31pm UTC](https://community.stereolabs.com/t/output-is-very-wrong-when-running-fusion-with-svo-file/4120/8 "2023-12-11T13:31:40Z")

</div>

Should I get the Zed Diagnostic report file from my own computer or from the orin box to which the cameras are connected?

---

<div class="post-metadata">

**Author:** ![emrekocdemir](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/e/96bed5/32.png) [@emrekocdemir](https://community.stereolabs.com/u/emrekocdemir)\
**Post date:** [December 11, 2023, 2:19pm UTC](https://community.stereolabs.com/t/output-is-very-wrong-when-running-fusion-with-svo-file/4120/9 "2023-12-11T14:19:04Z")

</div>

I sent both, hope it helps.
