# Default properties of luxonis OAK-1 lite camera

**URL:** <https://discuss.roboflow.com/t/default-properties-of-luxonis-oak-1-lite-camera/3968>\
**Category:** 🤝  Community Help\
**Created:** [December 15, 2023, 1:53pm UTC](https://discuss.roboflow.com/t/default-properties-of-luxonis-oak-1-lite-camera/3968 "2023-12-15T13:53:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vijay\_Pawar](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/vijay_pawar/32/3114_2.png) [@Vijay\_Pawar](https://discuss.roboflow.com/u/Vijay_Pawar)\
**Post date:** [December 15, 2023, 1:53pm UTC](https://discuss.roboflow.com/t/default-properties-of-luxonis-oak-1-lite-camera/3968/1 "2023-12-15T13:53:12Z")

</div>

How can i change default properties of luxonis OAK-1 lite camera like, resolution, autofocus etc for object detection ??

from roboflowoak import RoboflowOak  
import cv2

if **name** == ‘ **main** ’:  
# instantiating an object (rf) with the RoboflowOak module  
rf = RoboflowOak(model=“advertising-graphic-detection”, confidence=0.05, overlap=0.5,  
version=“2”, api\_key=“----”, rgb=True,  
depth=False, device=None, blocking=True)

```
# Running our model and displaying the video output with detections
while True:
    result, frame, raw_frame, depth = rf.detect()
    predictions = result["predictions"]
    print("PREDICTIONS ", [p.json() for p in predictions])

    # displaying the video feed as successive frames
    cv2.imshow("frame", frame)

    # how to close the OAK inference window / stop inference: CTRL+q or CTRL+c
    if cv2.waitKey(1) == ord('q'):
        break

```

---

<div class="post-metadata">

**Author:** ![espressobot](https://avatars.discourse-cdn.com/v4/letter/e/4bbf92/32.png) [@espressobot](https://discuss.roboflow.com/u/espressobot)\
**Post date:** [December 15, 2023, 5:10pm UTC](https://discuss.roboflow.com/t/default-properties-of-luxonis-oak-1-lite-camera/3968/2 "2023-12-15T17:10:49Z")

</div>

Hi Vijay,  
I’ve done some development with the OAK/OAK-D family of cameras.  
I don’t think that these parameters are exposed in the Roboflow API. You would need to set them with the `depthai` or `depthai_sdk` libraries from [Luxonis](https://www.luxonis.com).  
Here’s an example of how to control the features of a mono camera using `depthai`:  
[https://docs.luxonis.com/projects/api/en/latest/samples/MonoCamera/mono\_camera\_control/](https://docs.luxonis.com/projects/api/en/latest/samples/MonoCamera/mono_camera_control/)

You will, of course, need to install the `depthai` API(s) for Python first before running that example.

Hope that helps you…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [December 27, 2023, 3:00am UTC](https://discuss.roboflow.com/t/default-properties-of-luxonis-oak-1-lite-camera/3968/3 "2023-12-27T03:00:05Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
