Thread: How do I get&use my AI's camera's images if I don't have them beforehand in my code!

  1. #76
    Registered User
    Join Date
    Dec 2015
    Posts
    142
    Can't find the libs facepalm l l

    Think I found them by a video...

    Omg it's only x64 there's no x86 like theirs showwww.
    Last edited by ADVANCESSSS; 01-12-2016 at 09:25 PM.

  2. #77
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    Why do you panic like this? What is your current code and what are the linker errors? Let's work instead of panicking.

  3. #78
    Registered User
    Join Date
    Dec 2015
    Posts
    142
    No code yet, just trying to setup opencv so I can start coding "openCameraImages" and then code the rest based around that.

    I installed opencv 3.0.0 a older version that my current 3.0.1 and this one shows x86...good yes yes?

  4. #79
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    No code yet, just trying to setup opencv so I can start coding "openCameraImages" and then code the rest based around that.
    Well great, but a good way - perhaps the only way to make sure a library works is to try to compile some code for it.
    I installed opencv 3.0.0 a older version that my current 3.0.1 and this one shows x86...good yes yes?
    Whatever works.

    Note that the 3.1 release shoved all of x64 in a separate folder. Everything else is 32-bit.

  5. #80
    Registered User
    Join Date
    Dec 2015
    Posts
    142
    How do you know? Do you know where the x86 is?

  6. #81
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    Wait... you did compile the source, right?

  7. #82
    Registered User
    Join Date
    Dec 2015
    Posts
    142
    what source

    You mean in the compiler?

  8. #83
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    Quote Originally Posted by ADVANCESSSS View Post
    what source

    You mean in the compiler?
    Actually, nevermind. I was considering some options with CMake to compile the library from source.

    Anyway, I wouldn't worry about the folder structure. One reason is because the more I actually look at the user site, the more out of date it seems to be for 3.1, so we're a bit on our own. The project also really seems set on Visual Studio support more than anything else, so installing the library for codeblocks is, as you know, proving difficult.

    You're going to have to experiment to find out if any of the current files work in code blocks. You remember the tutorial you had from my post? text

    You're going to want to follow it.

    Try adding <path to>/opencv/build/<vcxx>/lib to the linker

    Then add <path to>/opencv/build/include to your compiler's search directories.

    (You should be able to explore to these locations and verify the all important .lib file is there)
    Note that you must take both steps.

    Focus on eliminating one VC folder as a possibility at a time. If neither of the VC folders work, then you may need to migrate to the Visual Studio IDE, or downgrade to an earlier version of Open CV.

  9. #84
    Registered User
    Join Date
    Dec 2015
    Posts
    142
    Ok I got one of the little includes at top of my test code to go through, though what it did is it opened up a new tab and told me a bunch of shiz about copyright/ect and about the header itself and said " error now missing the #include "opencv2/core.hpp" "...so maybe I'm doing good if one went through?

  10. #85
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    Ok I got one of the little includes at top of my test code to go through, though what it did is it opened up a new tab and told me a bunch of shiz about copyright/ect [and about the header
    I don't know what you are talking about.
    and said " error now missing the #include "opencv2/core.hpp"
    Is that exactly what it said? If includes are missing you must have messed up what I told you to do.

  11. #86
    Registered User
    Join Date
    Dec 2015
    Posts
    142
    I have the linker open to add headers, (I added the libs and directory), and one of the headers went through when I tried executing it, now the core include header did too, but this next include ain't, yet it's the exact same name...

    What I don't understand is why this article's code only has:
    #include "opencv2/highgui/highgui.hpp"
    #include <iostream>
    Yet mine's asking for morrre header includes as each one goes through as I add them.

    Last edited by ADVANCESSSS; 01-12-2016 at 11:33 PM.

  12. #87
    Registered User
    Join Date
    Dec 2015
    Posts
    142

  13. #88
    Ticked and off
    Join Date
    Oct 2011
    Location
    La-la land
    Posts
    1,728

  14. #89
    Registered User
    Join Date
    Dec 2015
    Posts
    142
    Did ya see our conversation? Now I know what to do~

    Wait a moment.............OpenCV is OpenComputerVision, what are we going to do about the accelometor and the earphones and the feelers! ! Hyperventilation, Hyperventilation, Hyperventilation...Hyperventilation......Hypervent ilation........Oh how will I ever get the sensory input and send it to functions and to motors!

    c++ - Sound from mic vs sound from speaker - Stack Overflow

    About now I should start looking for robots to keep trying my code in!! I will get a spider robot. And look for a little baby humanoid robot with these sensors and lots of memory though you'd think it cost 80,000$. You will see it move around randomly, look at face/eyes by learning the actions if I install human attractions, it'll start making noises and copy others or linked sounds by if theirs matches any memory, will smile/laugh by +triggers vice versa. I want it to also have genital feel so how I can 1) show how we save actions by trigger and 2) helps it become like us.

    Ok come on this one still ain't gonna do it. It can't have leg-ready-standing-no-fall, it must squerm on ground and learn to crawl at least, and have good hands.
    http://www.smashingrobotics.com/thir...or-sale-today/
    Omg #8.
    Omg it gets funnier as you scroll down!
    Last edited by ADVANCESSSS; 01-13-2016 at 09:33 AM.

  15. #90
    Registered User
    Join Date
    Dec 2015
    Posts
    142
    Hey I better watch these, the cheapest one can crawl, son of a bitc%.
    https://www.youtube.com/watch?v=1WEgNQjL66g

    Then again...
    https://www.youtube.com/watch?v=vUpBNSyWAaU

    Nah I better stick to
    https://www.youtube.com/watch?v=hKOAl5HKmNA
    Last edited by ADVANCESSSS; 01-13-2016 at 11:21 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 12-28-2012, 11:14 PM
  2. creating images using C# code
    By synyyy in forum C# Programming
    Replies: 1
    Last Post: 01-26-2011, 11:27 PM
  3. ip camera
    By sgh in forum C# Programming
    Replies: 3
    Last Post: 03-12-2009, 01:50 PM
  4. Following camera
    By pandu in forum Game Programming
    Replies: 5
    Last Post: 06-10-2008, 07:20 PM
  5. Digital Camera -> Slo-Mo Camera??
    By Masa in forum Tech Board
    Replies: 6
    Last Post: 12-24-2003, 11:11 AM

Tags for this Thread