我有几组无人机影像数据及处理后的xml信息,我希望通过yolov5目标检测检测出感兴趣的物体后,根据检测框的像素坐标计算出其实际的世界坐标
<?xml version="1.0" encoding="utf-8"?>
<BlocksExchange version="3.2">
<SpatialReferenceSystems>
<SRS>
<Id>1</Id>
<Name>EPSG:4978</Name>
<Definition>EPSG:4978</Definition>
</SRS>
<SRS>
<Id>2</Id>
<Name>EPSG:4326+5773</Name>
<Definition>EPSG:4326+5773</Definition>
</SRS>
<SRS>
<Id>3</Id>
<Name>EPSG:4326</Name>
<Definition>EPSG:4326</Definition>
</SRS>
</SpatialReferenceSystems>
<Block>
<Name>空三任务_1_clone_clone</Name>
<Description>Export by Smart3D(soarscape.com) Version:5.0,build221102 64bit</Description>
<SRSId>1</SRSId>
<Photogroups>
<Photogroup>
<Name>南湾-1-f1</Name>
<ImageDimensions>
<Width>6000</Width>
<Height>4000</Height>
</ImageDimensions>
<CameraModelType>Perspective</CameraModelType>
<CameraModelBand>Visible</CameraModelBand>
<FocalLength>35.60753779528072</FocalLength>
<SensorSize>23.5</SensorSize>
<PrincipalPoint>
<x>3049.4173703184692</x>
<y>2042.5520608621518</y>
</PrincipalPoint>
<CameraOrientation>XRightYDown</CameraOrientation>
<Distortion>
<K1>-0.0084246744469627967</K1>
<K2>-0.045179449479387186</K2>
<K3>-0.017715008143209181</K3>
<P1>-0.00070299007778345222</P1>
<P2>-0.00059448390028627818</P2>
</Distortion>
<AspectRatio>1</AspectRatio>
<Skew>0</Skew>
<Photo>
<Id>0</Id>
<ImagePath>//10.0.0.220/Data1/00-photo/20220725-原平/南湾/1/f1/NW1010001.JPG</ImagePath>
<Component>1</Component>
<NearDepth>91.667172112607659</NearDepth>
<MedianDepth>171.56299059765448</MedianDepth>
<FarDepth>226.04661795383569</FarDepth>
<Pose>
<Rotation>
<M_00>0.95253883925056881</M_00>
<M_01>0.026702735566470508</M_01>
<M_02>0.30324367039139682</M_02>
<M_10>0.018261558780604592</M_10>
<M_11>-0.99936369954641679</M_11>
<M_12>0.030638399106377879</M_12>
<M_20>0.30386884537589814</M_20>
<M_21>-0.023646563009586074</M_21>
<M_22>-0.95242037193024809</M_22>
</Rotation>
<Center>
<x>-1966104.8823895147</x>
<y>4588592.6862530271</y>
<z>3957960.9511104464</z>
</Center>
<Metadata>
<SRSId>3</SRSId>
<Center>
<x>113.1940037</x>
<y>38.596605070000003</y>
<z>873.36429999999996</z>
</Center>
</Metadata>
</Pose>
<ExifData>
<ImageDimensions>
<x>6000</x>
<y>4000</y>
</ImageDimensions>
<Make>SONY</Make>
<Model>ILCE-6000</Model>
</ExifData>
</Photo>
<Photo>
<Id>1</Id>
<ImagePath>//10.0.0.220/Data1/00-photo/20220725-原平/南湾/1/f1/NW1010002.JPG</ImagePath>
<Component>1</Component>
<NearDepth>96.722267128997188</NearDepth>
<MedianDepth>173.96518099594235</MedianDepth>
<FarDepth>225.5660749861475</FarDepth>
<Pose>
<Rotation>
<M_00>0.91860609887032008</M_00>
<M_01>0.146017598659442</M_01>
<M_02>0.36720797376960929</M_02>
<M_10>0.12950475429318983</M_10>
<M_11>-0.98915001091954013</M_11>
<M_12>0.069359747067980371</M_12>
<M_20>0.37335151497444402</M_20>
<M_21>-0.016159108255216218</M_21>
<M_22>-0.92754920596520574</M_22>
</Rotation>
<Center>
<x>-1966125.0331433073</x>
<y>4588592.8072263049</y>
<z>3957954.4623308214</z>
</Center>
<Metadata>
<SRSId>3</SRSId>
<Center>
<x>113.1942138</x>
<y>38.596515230000001</y>
<z>875.53899999999999</z>
</Center>
</Metadata>
</Pose>
<ExifData>
<ImageDimensions>
<x>6000</x>
<y>4000</y>
</ImageDimensions>
<Make>SONY</Make>
<Model>ILCE-6000</Model>
</ExifData>
</Photo>
<Photo>
<Id>2</Id>
<ImagePath>//10.0.0.220/Data1/00-photo/20220725-原平/南湾/1/f1/NW1010003.JPG</ImagePath>
<Component>1</Component>
<NearDepth>96.340017021748238</NearDepth>
<MedianDepth>172.24223128123842</MedianDepth>
<FarDepth>217.82134631044048</FarDepth>
<Pose>
<Rotation>
<M_00>0.90141918590416736</M_00>
<M_01>0.15828372072222782</M_01>
<M_02>0.40297607253805434</M_02>
<M_10>0.11875130300911198</M_10>
<M_11>-0.98546916960043185</M_11>
<M_12>0.1214439945022944</M_12>
<M_20>0.41634310288211274</M_20>
<M_21>-0.061618012961820047</M_21>
<M_22>-0.90711721467577244</M_22>
</Rotation>
<Center>
<x>-1966141.1331048731</x>
<y>4588592.5942531051</y>
<z>3957948.9479351165</z>
</Center>
<Metadata>
<SRSId>3</SRSId>
<Center>
<x>113.1943855</x>
<y>38.596440970000003</y>
<z>876.96609999999998</z>
</Center>
</Metadata>
</Pose>
<ExifData>
<ImageDimensions>
<x>6000</x>
<y>4000</y>
</ImageDimensions>
<Make>SONY</Make>
<Model>ILCE-6000</Model>
</ExifData>
</Photo>