rdk-technical-support
#661
Posté 25 novembre 2025 - 01:16
#662
Posté 25 novembre 2025 - 01:16
#663
Posté 25 novembre 2025 - 01:18
#664
Posté 25 novembre 2025 - 01:21
#665
Posté 25 novembre 2025 - 01:37
#666
Posté 25 novembre 2025 - 01:41
#667
Posté 25 novembre 2025 - 02:49
import numpy as np
import time
import sys
from hobot_vio_rdkx5 import libsrcampy
def process_nv12(nv12_data, width, height):
frame = np.frombuffer(nv12_data, dtype=np.uint8)
y = frame[:width * height].reshape((height, width))
uv = frame[width * height:].reshape((height // 2, width // 2, 2))
return cv2.cvtColorTwoPlane(y, uv, cv2.COLOR_YUV2BGR_NV12)
cam_w, cam_h = 1920, 1080
img_w, img_h = 800, 448
cam = libsrcampy.Camera()
ret = cam.open_cam(0, -1, 30, img_w, img_h, cam_h, cam_w)
print(f"return : {ret}")
data = cam.get_img(2, img_w, img_h)
image = process_nv12(data, img_w, img_h)
cv2.imwrite("image.jpg", image)
#668
Posté 25 novembre 2025 - 02:51
#669
Posté 25 novembre 2025 - 02:51
set camera fps: 30,width: 1920,height: 1080
Camera 0:
mipi_host: 0
Camera 1:
mipi_host: 2
Camera 2:
mipi_host: 0
Camera 3:
mipi_host: 0
mipi mclk is not configed.
Searching camera sensor on device: /proc/device-tree/soc/cam/vcon@0 i2c bus: 6 mipi rx phy: 0
WARN: Sensor Name: sc1330t, Expected Chip ID: 0xCA18, Actual Chip ID Read: 0x00
WARN: Sensor Name: irs2875-tof, Expected Chip ID: 0x2875, Actual Chip ID Read: 0x00
WARN: Sensor Name: sc230ai-10fps, Expected Chip ID: 0xCB34, Actual Chip ID Read: 0x00
WARN: Sensor Name: sc230ai-30fps, Expected Chip ID: 0xCB34, Actual Chip ID Read: 0x00
WARN: Sensor Name: sc132gs-1280p, Expected Chip ID: 0x132, Actual Chip ID Read: 0x00
WARN: Sensor Name: sc035hgs, Expected Chip ID: 0x5A, Actual Chip ID Read: 0x00
WARN: Sensor Name: ov5640, Expected Chip ID: 0x5640, Actual Chip ID Read: 0x00
WARN: Sensor Name: f37, Expected Chip ID: 0xF37, Actual Chip ID Read: 0x00
WARN: Sensor Name: imx415-30fps-2lane, Expected Chip ID: 0x03, Actual Chip ID Read: 0x00
WARN: Sensor Name: imx415-30fps-4lane, Expected Chip ID: 0x03, Actual Chip ID Read: 0x00
WARN: Sensor Name: sc202cs-1600x1200, Expected Chip I
this is the log, i am getting at here
i have gone through the documentation also, but i couldn't find anything related "open_cam"
#rdk-technical-support
#670
Posté 26 novembre 2025 - 11:12
Im trying to use the waveshare display 7.9inch with RDK X5.
The touch is not working properly. Seems that it is limited to a specific small area in the botton right of the screen. I tryed to rotate the touch but it is always not working properly. Do you have suggestions?
#671
Posté 26 novembre 2025 - 11:51
Thanks
#672
Posté 30 novembre 2025 - 08:23
IMG20251130225141.jpg 455,1 Ko
0 téléchargement(s)
#673
Posté 30 novembre 2025 - 11:17
#674
Posté 30 novembre 2025 - 11:22
#676
Posté 01 décembre 2025 - 01:37
#677
Posté 01 décembre 2025 - 02:58
#678
Posté 01 décembre 2025 - 03:00
Let me know if anyone have idea about it, thanks in advance.
#679
Posté 07 décembre 2025 - 11:32
#680
Posté 09 décembre 2025 - 03:11
20 utilisateur(s) li(sen)t ce sujet
0 members, 20 guests, 0 anonymous users






