---
Product: Aspose.3D
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/python/colladaformatdetector
---

# ColladaFormatDetector

## Overview

`ColladaFormatDetector` is a class in Aspose.3D FOSS for Python.
Inherits from: `FormatDetector`.

ColladaFormatDetector.detect determines the 3D file format of a stream, optionally using the file name.

This class declares 2 methods for ColladaFormatDetector objects in Python programs.
Available methods include: `__init__`, `detect`.
Public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__()` | Calls __init__ on this ColladaFormatDetector instance. |
| `detect(stream, file_name: str)` → `'FileFormat'` | Determines the 3D file format of a stream, optionally using the file name |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)