콘텐츠로 건너뛰기
STAGING SERVER
DEVELOPMENT SERVER

문제 해결#

문제: 카메라가 감지되지 않음#

Issue: The camera doesn't appear in the camera list or can't be opened.

Solution:

  • Verify the USB Type-C cable is properly connected to the camera.
  • Try a different USB port (preferably USB 3.0) and a different USB cable.
  • Check Device Manager for the camera device. If there's an unknown device, install the latest pylon SDK drivers.
  • Ensure the pylon SDK is properly installed.
  • Try unplugging and reconnecting the camera.

Issue: The camera doesn't appear in the camera list or can't be opened.

Solution:

  • Verify the USB Type-C cable is properly connected to the camera.
  • Try a different USB port (preferably USB 3.0) and a different USB cable.
  • Verify the camera is detected: lsusb | grep Basler
  • Ensure the pylon SDK is properly installed. Verify with which pylon.
  • Try unplugging and reconnecting the camera.

Issue: The camera doesn't appear in the camera list or can't be opened.

Solution:

  • Verify the USB Type-C cable is properly connected to the camera.
  • Try a different USB port (preferably USB 3.0) and a different USB cable.
  • Verify the camera is detected: lsusb | grep Basler
  • Ensure the pylon SDK is properly installed. Verify with which pylon.
  • Try unplugging and reconnecting the camera.

문제: 저조한 image Quality#

문제: 이미지가 노이즈가 많거나 어둡거나 흐리게 나타납니다.

해결 방법:

  • 예를 들어 노출을 조절하십시오:

    camera.ExposureAuto.SetValue(ExposureAuto_Continuous)
    
  • 충분한 조명을 확보하십시오. 필요한 경우 역광을 줄이십시오. Active Stereo가 탑재된 Stereo mini 카메라의 경우 주변광이 너무 강하지 않은지 확인하십시오.

  • 사용 사례에 최적화된 Depth 프리셋을 선택하십시오.
  • 부드러운 천으로 렌즈를 닦고 렌즈 커버가 제거되었는지 확인하십시오.

문제: 깊이 데이터 문제#

문제: 깊이 데이터가 유효하지 않거나, 희박하거나, 정확하지 않습니다.

해결 방법:

  • 장면에 충분한 텍스처가 있는지 확인하십시오.
  • Active Stereo(STM-502u, STM-952u)의 경우 필요한 경우 주변광을 줄이십시오.
  • 카메라를 직접 향하는 반사율이 높은 표면을 피하십시오.
  • 사용 사례에 최적화된 Depth 프리셋을 선택하십시오.

문제: 성능 최적화#

문제: 그랩 또는 처리가 느리거나 리소스를 많이 소모합니다.

해결 방법:

  • 예를 들어 적절한 그랩 전략을 사용하십시오:

    camera.StartGrabbing(pylon.GrabStrategy_LatestImageOnly)  # For real-time
    
  • 가능하면 네이티브 포맷으로 이미지를 처리하고 애플리케이션에 효율적인 알고리즘을 사용하십시오.

  • CPU 사용량, Memory 소비량, USB 대역폭 사용량을 확인하십시오.

문제: OpenCV 관련 DLL 또는 종속성 문제#

Issue: The code execution cannot proceed because opencv_core.dll was not found.

Solution: Add the folder containing the OpenCV DLLs to your PATH environment variable.

See Adding OpenCV to PATH Environment Variable in the C++ Programmer's Guide.

Issue: opencv_core.so: cannot open shared object file.

Solution: Make sure OpenCV is properly installed and the library path is added to LD_LIBRARY_PATH.

Issue: opencv_core.so: cannot open shared object file.

Solution: Make sure OpenCV is properly installed and the library path is added to LD_LIBRARY_PATH.

문제: PCL 관련 DLL 또는 종속성 문제#

Issue: The code execution cannot proceed because OpenNI2.dll was not found.

Solution: Download OpenNI2 and add the folder containing the OpenNI2.dll to your PATH environment variable.

Issue: OpenNI2.so: cannot open shared object file.

Solution: Install the required OpenNI2 library package.

Issue: OpenNI2.so: cannot open shared object file.

Solution: Install the required OpenNI2 library package.

문제: PCL의 CMake 구성 오류 (RelWithDebInfo)#

Issue: When compiling a program that uses PCL with cmake, an error message similar to Compiler: C++ compiler determination failed occurs.

Solution: When building PCL in the CMake GUI, use the Release configuration instead of RelWithDebInfo.

Issue: PCL compilation problems.

Solution: Use the libpcl-dev package instead of building from source.

Issue: PCL compilation problems.

Solution: Use the distribution's PCL package if available, or build from source with Release configuration.

문제: 32비트 라이브러리와 64비트 라이브러리 혼용#

문제: 32비트 라이브러리와 64비트 라이브러리를 혼용할 때 발생하는 링커 오류입니다.

해결 방법: 모든 라이브러리(pylon, OpenCV, PCL)가 애플리케이션과 동일한 아키텍처(모두 32비트 또는 모두 64비트)로 컴파일되었는지 확인하십시오.

문제: Debug 모드에서 낮은 프레임 레이트#

문제: Release 모드에 비해 Debug 모드에서 실행할 때 프레임 레이트가 현저히 낮습니다.

해결 방법: 이는 정상적인 현상입니다. 더 나은 성능을 위해 Release 모드로 컴파일하십시오. Debug 모드에는 추가적인 오버헤드가 발생합니다.

문제: 장치가 이미 연결되어 있다는 오류#

문제: 크래시나 비정상적인 프로그램 종료 후 애플리케이션이 장치에 연결하지 못하고 다음과 같은 오류를 보고합니다. Device already in use.

해결 방법:

  • pylon 런타임을 다시 시작하거나 시스템을 재부팅하십시오.
  • 다른 프로세스가 여전히 장치와의 연결을 유지하고 있는지 확인하십시오.