Thanks for your reply @jakaskerl
Forgot to share in the initial message but, I have tried out develop branch previously too.
The develop branch just fixes the issue of MONO and COLOR, where u can access COLOR feed but it doesnt solve the issue of fixing correct recognition of Sensor. I completely accept the fact that both the sensor are same but i feel there are limitations in choosing resolution as specified in official docs:
1. OV9782

2. OV9282

These are my outputs for your reference:
Python Code:
Modified camera_all.py
#!/usr/bin/env python3
import cv2
import depthai as dai
try:
dai_version = dai.__version__
except Exception:
dai_version = 'Unknown'
print("DepthAI Version >> ", dai_version)
# Create pipeline
device = dai.Device()
with dai.Pipeline(device) as pipeline:
outputQueues = {}
sockets = device.getConnectedCameras()
for socket in sockets:
cam = pipeline.create(dai.node.Camera).build(socket)
cam.setSensorType(dai.CameraSensorType.COLOR)
outputQueues[str(socket)] = cam.requestFullResolutionOutput().createOutputQueue()
pipeline.start()
for p in device.getConnectedCameraFeatures():
print(
f' -socket {p.socket.name:6}: {p.sensorName:6} {p.width:4} x {p.height:4} focus:', end='')
print('auto ' if p.hasAutofocus else 'fixed', '- ', end='')
print(*[type.name for type in p.supportedTypes])
while pipeline.isRunning():
for name in outputQueues.keys():
queue = outputQueues[name]
videoIn = queue.get()
assert isinstance(videoIn, dai.ImgFrame)
# Visualizing the frame on slower hosts might have overhead
cv2.imshow(name, videoIn.getCvFrame())
if cv2.waitKey(1) == ord("q"):
break

Terminal output:
