GithubHelp home page GithubHelp logo

Request Install Guide about sentryturret HOT 4 OPEN

rlefever avatar rlefever commented on June 8, 2024
Request Install Guide

from sentryturret.

Comments (4)

decentropy avatar decentropy commented on June 8, 2024

which ones?

from sentryturret.

rlefever avatar rlefever commented on June 8, 2024

Rasbian Jessie apt-get is unable to find open-cv mainly.

had to pip install configobj, webcolors and pyttsx

There needs to be some guidance with install boost. Their website talks about so many options and ways it is very confusing. I chose the basic of running ./bootstrap.sh with nothing else.

The sudo python setup.py install of dlib failed. could be because open-cv is not yet installed?

Some guidance needs to be given if any order of installation is important, please.

which ones?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#4 (comment)

from sentryturret.

rlefever avatar rlefever commented on June 8, 2024

sudo python setup.py install errors with:

Build using cmake ...
Scanning dependencies of target dlib
[ 1%] Building CXX object dlib_build/CMakeFiles/dlib.dir/base64/base64_kernel_1.o
c++: error: unrecognized command line option âÂÂ-msse4âÂÂ
dlib_build/CMakeFiles/dlib.dir/build.make:54: recipe for target 'dlib_build/CMakeFiles/dlib.dir/base64/base64_kernel_1.o' failed
make[2]: *** [dlib_build/CMakeFiles/dlib.dir/base64/base64_kernel_1.o] Error 1
CMakeFiles/Makefile2:110: recipe for target 'dlib_build/CMakeFiles/dlib.dir/all' failed
make[1]: *** [dlib_build/CMakeFiles/dlib.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
error: cmake build failed!

from sentryturret.

T0T3NK0PF avatar T0T3NK0PF commented on June 8, 2024

I have struggled with this too for about a week and it turns out that OpenCV needs to be compiled from source.
I did it with OpenCV3.3 BUT, the code available here hasn't been updated for years.. and its NOT compatible with OpenCV3. So I recommend trying to compile OpenCV2 instead.

I followed this guide but again its OpenCV3 not OpenCV2
https://www.pyimagesearch.com/2016/04/18/install-guide-raspberry-pi-3-raspbian-jessie-opencv-3/

OpenCV needs to be compiled and installed then Dlib or at least that's how I could get it compiled

I managed to get it working with OpenCV.3.3 updating some of the code however its buggy. The facial tracking (Option 1) doesn't work very well and Dlib and is extremely slow to process the video feed. The motors looses functionality after initial detection and moving and don't update new positions. The detection on object also doesn't reset or update and looses the target. Same for Color tracking. So a lot more work is needed.

Further note is that some of the listed software are installed via PIP and some apt.
The included readme isn't very specific on how to install the different packages.

PIP Install these and not with apt:
configobj
pyttsx
webcolors

For audio you need to install espeak
sudo apt install espeak

If you dont have a speaker actively plugged in then set Quiet=1 in the config file else script crashed with jack error and alsa errors.

You also need to add the raspberry Pi cam to modprobe else the software crashes
with OpenCV errors 0 frame because it cant activate the Rapsberry Pi Cam since the script relies on /dev/video0 being present.
To do this.

sudo modprobe bcm2835-v4l2

or add bcm2835-v4l2 to /etc/modprobe using nano. to have it initialized on startup.

I am currently hoping the author steve-vincent would kindly update the code base to use OpenCV3 and the latest libs.

from sentryturret.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.