# Human detection using camera module raspberry pi, test in pc

**URL:** <https://forum.opencv.org/t/human-detection-using-camera-module-raspberry-pi-test-in-pc/8836>\
**Category:** Python\
**Created:** [May 18, 2022, 8:11pm UTC](https://forum.opencv.org/t/human-detection-using-camera-module-raspberry-pi-test-in-pc/8836 "2022-05-18T20:11:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bhoo](https://avatars.discourse-cdn.com/v4/letter/b/848f3c/32.png) [@Bhoo](https://forum.opencv.org/u/Bhoo)\
**Post date:** [May 18, 2022, 8:11pm UTC](https://forum.opencv.org/t/human-detection-using-camera-module-raspberry-pi-test-in-pc/8836/1 "2022-05-18T20:11:51Z")

</div>

cv2.error: OpenCV(4.5.5) /io/opencv/modules/dnn/src/caffe/caffe\_io.cpp:1126: error: (-2:Unspecified error) FAILED: fs.is\_open(). Can’t open “MobileNetSSD\_deploy.prototxt” in function ‘ReadProtoFromTextFile’

This error message was shown whilst I tried to run python code in my linux terminal. I’m trying to execute the code using pc cam.

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [May 19, 2022, 3:38am UTC](https://forum.opencv.org/t/human-detection-using-camera-module-raspberry-pi-test-in-pc/8836/2 "2022-05-19T03:38:48Z")

</div>

`assert os.path.exists("MobileNetSSD_deploy.prototxt")`

and when that fails, you should learn about the “current working directory” and what that has to do with _relative_ paths
