문제 해결#
문제: 카메라가 감지되지 않음#
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.
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.
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.
문제: 화질이 나쁨#
문제: 이미지가 노이즈가 많거나 어둡거나 흐릿하게 표시됩니다.
해결 방법:
-
노출을 조정합니다. 예를 들어:
-
조명이 충분한지 확인하십시오. 필요한 경우 백라이트를 줄이십시오. 액티브 스테레오 기능이 탑재된 Stereo mini 카메라의 경우, 주변 조명이 지나치게 강하지 않은지 확인하십시오.
- 사용 목적에 최적화된 깊이 사전 설정을 선택하십시오.
- 부드러운 천으로 렌즈를 닦고, 렌즈 캡이 제거되었는지 확인하십시오.
문제: 깊이 데이터 관련 문제#
문제: 깊이 데이터가 유효하지 않거나, 불완전하거나, 부정확합니다.
해결 방법:
- 장면에 충분한 질감이 드러나도록 하세요.
- 액티브 스테레오(STM-502u, STM-952u)의 경우, 필요하면 주변 조명을 줄이십시오.
- 카메라를 정면으로 향하는 반사율이 높은 표면은 피하십시오.
- 사용 목적에 최적화된 깊이 사전 설정을 선택하십시오.
문제: 성능 최적화#
문제: 데이터 가져오기나 처리 속도가 느리거나 리소스를 많이 소모하는 것처럼 느껴집니다.
해결 방법:
-
적절한 그랩 전략을 사용하십시오. 예를 들어:
-
가능한 경우 이미지를 원본 형식으로 처리하고, 해당 애플리케이션에 적합한 효율적인 알고리즘을 사용하십시오.
- CPU 사용량, 메모리 사용량 및 USB 대역폭 사용량을 확인하십시오.
문제: DLL 또는 OpenCV 관련 의존성 문제#
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.
문제: DLL 또는 PCL 관련 종속성 문제#
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(RelWithDebInfo) 관련 CMake 구성 오류#
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비트)로 컴파일되었는지 확인하십시오.
문제: 디버그 모드에서 프레임 속도가 낮음#
문제: 디버그 모드에서 실행할 때 릴리스 모드에 비해 프레임 속도가 현저히 낮습니다.
해결 방법: 이는 정상적인 현상입니다. 더 나은 성능을 얻으려면 릴리스 모드로 컴파일하십시오. 디버그 모드에서는 추가적인 오버헤드가 발생합니다.
문제: ‘기기가 이미 연결되어 있습니다’ 오류#
문제: 프로그램이 충돌하거나 비정상적으로 종료된 후에는, 다음 오류가 발생하여 애플리케이션이 기기에 연결할 수 없습니다. Device already in use.
해결 방법:
- 파일론 런타임을 다시 시작하거나 시스템을 재부팅하십시오.
- 다른 프로세스가 여전히 해당 장치와의 연결을 유지하고 있는지 확인하십시오.