View my account

PC采集相机图像咨询

Comments

3 comments

  • MartyG

    Translation: Regarding how different CPUs of PC computers affect the rate at which camera images are acquired.  With a resolution of 640x480 on my desktop computer, the number of frames is up to 50 frames per second.  Using Raspberry Pi 4B can be 22 frames per second.  Another microcomputer UP2 can run 45 frames per second.  Even if you do not open these applications after installing some applications on it, it can only run 6 frames, and its CPU is E3940.  What factors are affected by the CPU for the image captured by the camera?  Is there a recommendation for a small board like Raspberry Pi, which can achieve high frame rate?

    **********

    Hello,

    The 400 Series RealSense cameras have hardware called the D4 inside them that processes camera data inside the camera before sending it to the computer.  This means that there is less processing work for the computer to do, and so the camera can work with low specification devices. 

    Raspberry Pi 4 Model B is already a very good choice of board to use with RealSense because of Pi 4's performance.  It is also available with memory of 2, 4 or 8 GB.  Could you tell me how much memory your Pi 4b has please?  If it is the 2gb model then that may restrict performance because once the real memory runs out then the Pi will use slow virtual memory from the swapfile (SD card space that is used as memory).

    You could try forcing the FPS to run at a constant rate with methods described in the link below.

    https://github.com/IntelRealSense/librealsense/issues/1957#issuecomment-400715579 

    ***********

    你好,

    400系列RealSense攝像機內部具有稱為D4的硬件,可在將其發送到計算機之前處理攝像機內部的攝像機數據。 這意味著計算機需要執行的處理工作更少,因此相機可以在低規格設備上工作。

    由於Pi 4的性能,Raspberry Pi 4 Model B已經是與RealSense一起使用的非常好的闆卡選擇。 它還具有2 GB,4 GB或8 GB的內存。 您能告訴我Pi 4b有多少內存嗎? 如果是2gb型號,則可能會限制性能,因為一旦實際內存用完,Pi就會使用交換文件(用作內存的SD卡空間)中的慢速虛擬內存。

    您可以嘗試使用以下鏈接中描述的方法強制FPS以恆定速率運行。

    https://github.com/IntelRealSense/librealsense/issues/1957#issuecomment-400715579 

    0
    Comment actions Permalink
  • 819765928

    首先,感谢你的解答。

    但是现在我还是有一些疑惑,D4硬件是一直打开的吗,还是需要手动打开?不同的CPU还是有影响,我用了一些低端CPU,例如Celeron N3350。它的采集就很慢。我也尝试了你推荐的方法,确实恒定了帧率,但是我修改曝光值后在改回原样,深度图是黑的。用其它电脑使用realsense-viewer则是好的。我的Raspberry Pi 4 Model B是4G版的

    0
    Comment actions Permalink
  • MartyG

    Yes the D4 is always active.  Although the D4 can do some of the processing work, having a good computer specification does make a positive difference, especially for functions that are processing intensive.   For example, post-processing filters are calculated on the computer and not in the camera hardware. 

    The RealSense Viewer has a set of post-processing filters enabled by default, so it may be worth disabling some of these in the options panel to see if it improves your results on Pi4.

    **************

    是的,D4始終處於活動狀態。 儘管D4可以完成某些處理工作,但是擁有良好的計算機規格確實可以帶來積極的變化,特別是對於處理密集型功能。 例如,後處理濾鏡是在計算機上而不是在相機硬件中計算的。

    RealSense Viewer默認情況下啟用了一組後處理過濾器,因此可能值得在選項面板中禁用其中的一些過濾器,以查看它是否可以改善Pi4上的結果。

    0
    Comment actions Permalink

Please sign in to leave a comment.