Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    1. Home
    2. odu
    O
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 9
    • Best 0
    • Groups 0

    odu

    @odu

    0
    Reputation
    1
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Email odu110@163.com

    odu Follow

    Latest posts made by odu

    • RE: jetson nano使用cv2打开摄像头卡顿,直接用指令预览不卡

      @veye_xumm 想在cv2使用

      posted in VEYE MIPI camera
      O
      odu
    • RE: jetson nano使用cv2打开摄像头卡顿,直接用指令预览不卡

      @veye_xumm 那我该怎么样应用才不卡呢

      posted in VEYE MIPI camera
      O
      odu
    • jetson nano使用cv2打开摄像头卡顿,直接用指令预览不卡

      使用的摄像头是imx385 mipi这是我测试的代码

      import sys
      import time
      import cv2
      
      def read_cam():
          cap = cv2.VideoCapture("v4l2src device=/dev/video0 ! video/x-raw, format=UYVY, width=1920, height=1080, framerate=30/1 ! videoconvert ! video/x-raw, format=I420 ! appsink", cv2.CAP_GSTREAMER)
          if cap.isOpened():
              while True:
                  print(time.time())
                  ret_val, img = cap.read()
                  print(time.time())
                  print("---")
                  img2 = cv2.cvtColor(img, cv2.COLOR_YUV2BGR_I420)
                  
                  if not ret_val:
                      print("无法获取图像")
                      break
      
                  cv2.imshow("CSI Camera", img2)
                  if cv2.waitKey(1) == ord('q'):
                      break
          else:
              print("camera open failed")
          cv2.destroyAllWindows()
      if __name__ == '__main__':
          read_cam()
          
      

      运行结果如下,读取一次花0.2秒多,该怎么办
      4cdd2dc6-f165-460e-ba97-02000c4c954e-13bf70827358f4f45e77ff096d0c9b5.jpg
      如果直接使用指令预览不会卡

      gst-launch-1.0 nvv4l2camerasrc device=/dev/video0 ! "video/x-raw(memory:NVMM),format=(string)UYVY, width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)NV12" ! nv3dsink sync=false
      
      posted in VEYE MIPI camera
      O
      odu
    • RE: Jetson Nano 更新DTB后无法启动系统

      @veye_xumm ok,寄到哪

      posted in VEYE MIPI camera
      O
      odu
    • RE: Jetson Nano 更新DTB后无法启动系统

      @veye_xumm 烧录系统吗?还是dtb

      posted in VEYE MIPI camera
      O
      odu
    • RE: Jetson Nano 更新DTB后无法启动系统

      @veye_xumm 你好,我测试了下,还是一样,无法启动

      posted in VEYE MIPI camera
      O
      odu
    • RE: Jetson Nano 更新DTB后无法启动系统

      @veye_xumm 谢谢,应该支持,支持官方刷机,可以发个我测试下

      posted in VEYE MIPI camera
      O
      odu
    • RE: Jetson Nano 更新DTB后无法启动系统

      @veye_xumm 5f84fe68-da5e-417a-ba08-c6d100633a99-b6109db7e03c232b841f374773f5337.jpg
      U盘启动,emmc刷了启动引导,不是官方的,是亚博的sub版

      posted in VEYE MIPI camera
      O
      odu
    • Jetson Nano 更新DTB后无法启动系统

      Nano b01
      l4t: R32 7.3
      需要使用veye-mipi-imx-385摄像头
      从nvidia_jetson_veye_bsp\nvidia_jetson_veye_bsp\kernel_image\Image_l4t_r32.7.3_veyecam.tar.gz解压Image替换/boot/Image
      从nvidia_jetson_veye_bsp\dtbs\Nano\JetPack_4.6.3_Linux_JETSON_NANO_TARGETS\dts dtb\VEYE-MIPI-CAM2M\tegra210-p3448-0000-p3449-0000-b00.dtb 添拷贝到/boot/veyecam/tegra210-p3448-0000-p3449-0000-b00.dtb
      在/boot/extlinux/extlinux.conf文件,最下面增加如下一行
      FDT /boot/veyecam/tegra210-p3448-0000-p3449-0000-b00.dtb
      重启如下图所示无法启动
      e1a5c698-f22d-4cff-b22f-bdde635cde44-6c3f32c1aa7fa1a1a4e5123573d902e.jpg
      注释掉FDT /boot/veyecam/tegra210-p3448-0000-p3449-0000-b00.dtb才能启动

      posted in VEYE MIPI camera
      O
      odu