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

# ObjFormatDetector

## Overview

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

This class declares 2 methods for ObjFormatDetector 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 ObjFormatDetector instance. |
| `detect(stream, file_name: str)` → `'FileFormat'` | Calls detect(stream, file_name) on this ObjFormatDetector instance. |

## See Also

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