# 11\_camera\_object\_identification error

**URL:** <https://forums.developer.nvidia.com/t/11-camera-object-identification-error/53307>\
**Category:** Jetson TX2\
**Created:** [September 9, 2017, 5:38pm UTC](https://forums.developer.nvidia.com/t/11-camera-object-identification-error/53307 "2017-09-09T17:38:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ean5qs2c](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ean5qs2c](https://forums.developer.nvidia.com/u/ean5qs2c)\
**Post date:** [September 9, 2017, 5:38pm UTC](https://forums.developer.nvidia.com/t/11-camera-object-identification-error/53307/1 "2017-09-09T17:38:45Z")

</div>

Seeing the following error after following the sample instructions:

nvidia@tegra-ubuntu:~/tegra\_multimedia\_api/samples/11\_camera\_object\_identification/opencv\_consumer\_lib$ make  
g++ -c -fPIC -Wall -Wextra -O2 -g `pkg-config --cflags opencv` -IOME/Work/caffe/caffe-master/include -I/usr/local/cuda/include -IOME/Work/caffe/caffe-master/build/src opencv\_consumer.cpp  
In file included from opencv\_consumer.cpp:39:0:  
Classifier.h:20:27: fatal error: caffe/caffe.hpp: No such file or directory  
compilation terminated.  
Makefile:59: recipe for target ‘opencv\_consumer.o’ failed  
make: \*\*\* [opencv\_consumer.o] Error 1

Thanks!

---

<div class="post-metadata">

**Author:** ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)\
**Post date:** [September 11, 2017, 4:54am UTC](https://forums.developer.nvidia.com/t/11-camera-object-identification-error/53307/2 "2017-09-11T04:54:51Z")

</div>

Seems like caffe is not downloaded/built. Do you do the below step?

```auto
b) Download Caffe source package from the following website:

        https://github.com/BVLC/caffe

       And copy the package to `$HOME` directory on the target board
       with the following command:

           $ mkdir -pv $HOME/Work/caffe
           $ cp caffe-master.zip $HOME/Work/caffe/
           $ cd $HOME/Work/caffe/ && unzip caffe-master.zip

```

---

<div class="post-metadata">

**Author:** ![emre.kayaarma](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@emre.kayaarma](https://forums.developer.nvidia.com/u/emre.kayaarma)\
**Post date:** [October 17, 2017, 10:16am UTC](https://forums.developer.nvidia.com/t/11-camera-object-identification-error/53307/3 "2017-10-17T10:16:25Z")

</div>

Hello,

I get the same error while compiling the OpenCV consumer library for 11\_camera\_object\_identification sample.  
Caffe is downloaded and built. I have also verified it by running the tests for Caffe.

Are there any other potential root causes?

Best,  
Emre

---

<div class="post-metadata">

**Author:** ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)\
**Post date:** [October 19, 2017, 9:37am UTC](https://forums.developer.nvidia.com/t/11-camera-object-identification-error/53307/4 "2017-10-19T09:37:17Z")

</div>

The error should not be seen if you install Caffe correctly:

```auto
Classifier.h:20:27: fatal error: caffe/caffe.hpp: No such file or directory

```

Are you on r28.1?

---

<div class="post-metadata">

**Author:** ![lawrencl](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@lawrencl](https://forums.developer.nvidia.com/u/lawrencl)\
**Post date:** [March 28, 2018, 9:14pm UTC](https://forums.developer.nvidia.com/t/11-camera-object-identification-error/53307/5 "2018-03-28T21:14:26Z")

</div>

so i have the same error code, with only one small difference included from opencv\_consumer.cpp:41:0:.  
so how do i check to see if caffe is properly downloaded or built?, i followed all the instructions in the tutorial, so i’m not sure where i’ve messed up.  
i also tried to redo the first step where i unzip caffe-master.zip, but it prompted me asking if i wished to replace the files, having this pop up i assume this means that caffe was installed?

---

<div class="post-metadata">

**Author:** ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)\
**Post date:** [March 29, 2018, 8:57am UTC](https://forums.developer.nvidia.com/t/11-camera-object-identification-error/53307/6 "2018-03-29T08:57:10Z")

</div>

Hi lawrencl,  
We suggest use TensorRT and refer to below samples:  
tegra\_multimedia\_api\samples\04\_video\_dec\_trt  
tegra\_multimedia\_api\samples\backend  
tegra\_multimedia\_api\samples\frontend

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 18, 2021, 6:28pm UTC](https://forums.developer.nvidia.com/t/11-camera-object-identification-error/53307/7 "2021-10-18T18:28:34Z")

</div>

Closed on October 18, 2021, 6:28pm UTC


