Arduino Prototyping Inputs #63: Image Tracking with the PIXY! Camera

Поделиться
HTML-код
  • Опубликовано: 3 сен 2019
  • Image recognition and movement is made simple by using the PIXY! Camera system and Arduino. This camera allows for advanced color tracking, pan & tilt, and a variety of other powerful features.👉 Leave a tip via cryptocurrency if I've helped you out:
    Bitcoin: bc1q2whh7h7nddf6lzzsns6phxdf2pyr6z0pvgy98t
    Doge: DDgFpxEsBTdjgJDg3vxwuagia9UU5UmSVL
    Etherium: 0x952e75561491951C50561b76eCFFFE1AC493d495
    XRP: rPVaL4TNr3aMPhwgYsWZdgirM99S9QnfCA
    Polkadot: 15pNwwPAsMwi59cMJC441P6KwYzCsq9WqQu156FF8KffRaee
    PIXY! Camera -- amzn.to/32Y0yyC
    NEW! Learn to Solder Course (Free to LinkedIn Pro users) - bit.ly/2ILSzx3
    Prototyping Supplies:
    • Inexpensive Arduino Compatible Kit -- amzn.to/2Dfqs5U
    • A More Deluxe Starter Kit -- amzn.to/3g9nFtR
    • Jumper Wire Kit - amzn.to/3f9rtK4
    • Breadboard Kit - amzn.to/3hIEPib
    • WaveShield Kit -- amzn.to/3g9vMq6
    • Motor Shield Kit -- amzn.to/3hISQfL
    • Adafruit Circuit Playground Kit -- amzn.to/39yBfo9
    My Camera Equipment:
    • Primary Camera -- amzn.to/3fewxgA
    • Camera Kit -- amzn.to/3jQvaI8
    • Primary Lens -- amzn.to/3jQvaI8
    • Macro Probe Lens -- amzn.to/3jQvaI8
    • Main Light -- amzn.to/2X1SwB6
    • Secondary (RGB) Lights -- amzn.to/3jQvaI8
    • Mini Lights -- amzn.to/3jQvaI8
    A few other FREE sensor tutorials you might like: (I have 100's!)
    • Cellular Data shield - • Arduino Prototyping Te... z
    • Capacitive Sensing - • Arduino Prototyping In...
    • Luminosity Sensors - • Arduino Prototyping In...
    • Thermocouples - • Arduino Prototyping In...
    • Sensing Vibration - • Arduino Prototyping In...
    A few other sensor tutorials you might like: (I have 100's!)
    • Cellular Data shield - • Arduino Prototyping Te... z
    • Capacitive Sensing - • Arduino Prototyping In...
    • Luminosity Sensors - • Arduino Prototyping In...
    • Thermocouples - • Arduino Prototyping In...
    • Sensing Vibration - • Arduino Prototyping In...
    And some playlists on prototyping with Arduino:
    • The Basics - • Arduino Prototyping: T...
    • Inputs - • Arduino Prototyping: I...
    • Outputs - Arduino Prototyping, Techniques - • Arduino Prototyping Ba...
    • Complete Prototyping Series! - • Arduino Prototyping: T...
    Instagram - / marcdevinck
    Twitter - / devinck
    Don't forget to like and subscribe if you'd like me to make more videos!
    My company, Panoptic Labs - www.panopticlabs.com
  • ХоббиХобби

Комментарии • 58

  • @danielq1985
    @danielq1985 Год назад +1

    Awesome overview video

  • @samwi53_0
    @samwi53_0 Год назад +1

    your channel is a hidden gem!

  • @peterchrien
    @peterchrien 3 года назад +6

    Wow, I didn't know it is that simple. I mean, it is not that difficult as I thought it is. Thanks for explaining how it works.

    • @MarcdeVinck
      @MarcdeVinck  3 года назад

      The PIXY! Cam is a fun addition to your prototyping lab. It works really well too!

  • @marcotadeo5985
    @marcotadeo5985 3 года назад

    Can I attach two step motors to control the movement of the camera (up down and side to side) to follow an object ? I would have to create some physical base for the camera to sit on obviously. Let me know if you have any ideas!

    • @MarcdeVinck
      @MarcdeVinck  3 года назад +3

      Yes, you can use 2 servo motors (not stepper motors, they require a lot more circuitry). You want a pan & tilt base, which are available and easy to implement.

  • @bobford9888
    @bobford9888 2 года назад

    Informative Video!! I was looking for a camera for a project when I stumbled on this video. I want to capture the positon of a laser pointer on a piece of white paper. if the Pixy2 reads 60 times per second that would be 16.6 ms per read. I was going to have a different Arduino turn the laser pointer on for 100 ms ( adjustable ) So with the laser pointer on time at 100ms it should read it 6 times, I was going to average those and come up with the x and y location. Before buying a Pixy2 I thought I would ask, do you feel that it would be able to do this?
    Thanks for any info

    • @MarcdeVinck
      @MarcdeVinck  2 года назад

      Yes, that sounds OK, but the frame rate can vary (from my experience) so if you are tied to those #'s, you might want to look at something more robust. I still think your example would work. The PIXY! is very capable.

  • @mossadsamaha4952
    @mossadsamaha4952 9 месяцев назад

    what is the limitation of this sensor. it seem working well. is it the quality of the camera? is it able read the infrared in warehouse or watching temperature of machine. if it find something then sending alarm.
    it is just project for factories, heavy machines that working 24/7.

    • @MarcdeVinck
      @MarcdeVinck  9 месяцев назад

      The PIXY Camera system is most likely not the best for that specific use. It's a great camera, but I think you would be looking for an IR thermal camera, which is readily available on the market as an accessory to the Arduino.

  • @paultsoi4918
    @paultsoi4918 4 года назад

    Can it recognizes more than one object like orange, water lemon and banana?

    • @MarcdeVinck
      @MarcdeVinck  4 года назад

      The new Pixy2 can track several (lots!) objects at once, do line detection, road sign detection, and even know when it comes to intersections of lines. It's an awesome little piece of hardware. So to answer your question, yes, the Pixy2 can track multiple objects.

  • @Mohammedalhalabi16
    @Mohammedalhalabi16 Год назад

    Question: If you disconnect the internet from it, will it still work on tracking moving objects without its connection to the internet, or should it be connected to the internet in order to continue tracking the movement of objects, and if it works, can we make a project to track an object using Arduino Uno

    • @MarcdeVinck
      @MarcdeVinck  Год назад

      The PIXY! Cam, along with the Arduino in not connected to the internet, and works standalone.

    • @Mohammedalhalabi16
      @Mohammedalhalabi16 Год назад

      @@MarcdeVinck It’s HD or Full HD.

    • @MarcdeVinck
      @MarcdeVinck  Год назад

      Models always are updated and specifications change, especially in DIY electronics. Always refer back to the manufacturer's website for the current information and models. pixycam.com/

  • @l8dawn
    @l8dawn Год назад

    great video! how many targets can it "remember"?

    • @MarcdeVinck
      @MarcdeVinck  Год назад +1

      They have anew model! Please check out their website for the specifications -- pixycam.com/

    • @l8dawn
      @l8dawn Год назад

      @@MarcdeVinck Is there a way to purchase the v1? I saw the v2 but it's a bit out of budget

    • @MarcdeVinck
      @MarcdeVinck  Год назад

      @@l8dawn There may be some online retailers with older stock. Might also want to reach out to them.

  • @johnarcelpascua8358
    @johnarcelpascua8358 Год назад

    I just curious, where did you get the zip file? I cant locate in the description box

    • @MarcdeVinck
      @MarcdeVinck  Год назад

      It's on their website -- pixycam.com/downloads-pixy2/

  • @trailb4u
    @trailb4u 3 года назад

    I'm looking for a way to have arduino take a screenshot and identify a matching screenshot taken previously and then run a script based on which screenshot has been matched.
    Would pixy cam be capable of this?
    Is there a better solution?

    • @MarcdeVinck
      @MarcdeVinck  3 года назад +1

      You'd be much better off using a Raspberry Pi running TensorFlow. You can do image comparisons, recognition, etc. Good luck!

    • @trailb4u
      @trailb4u 3 года назад

      @Marc de Vinck thanks for the reply Marc, I'll check out the tensor flow. My proposed application is to find a way to automatically identify which video game is selected in a multi game box so a joystick can shift into either 4-way or 8-way as the selected game requires.
      Mame setups running on personal computer, raspberry pi, etc, can be programmed directly to do this but boards/boxes are not programmable in same way. My idea was to split the video output going to the monitor plugging one into a board that could identify based on matching screenshot at time game is launched to recorded screenshots in memory.

    • @MarcdeVinck
      @MarcdeVinck  3 года назад

      @@trailb4u If you are already on a computer (or Pi), why use image recognition? The system knows what game was launched, just switch the controls as needed. It should be fairly easy to implement a lookup table of games and control methods.

    • @trailb4u
      @trailb4u 3 года назад

      @@MarcdeVinck Hi Marc, I'm looking for a solution for the boards that are not a computer or pi, (a 60 in 1 arcade game board for example). In a designated area of the screen, the actual name of the game appears in large print before pressing player 1 or player 2. So a text reading program would do the job in this case I think. The hardware cost would probably need to be in the 25 dollar range for this proposed workaround to be viable. I'm just checking to see if there is an off the shelf, cost effective solution.

    • @MarcdeVinck
      @MarcdeVinck  3 года назад +1

      @@trailb4u Oh, OK, that makes a lot more sense. TensorFlow on a Pi would be a good choice IMHO.

  • @shaikhjunaid5577
    @shaikhjunaid5577 2 года назад

    How it can track and lock automatically any object using camera and aurdino?

    • @MarcdeVinck
      @MarcdeVinck  2 года назад

      No 100% sure what you are asking, but that is a much larger project than you would most likely use an Arduino and AIXY! Camera. I suggest you look into Tensor Flow and a Raspberry Pi to get started with object detection and tracking.

    • @shaikhjunaid5577
      @shaikhjunaid5577 2 года назад

      Yes im doin project and facing problem that how to lock moving object ..if u can help plz do me favor

    • @MarcdeVinck
      @MarcdeVinck  2 года назад

      @@shaikhjunaid5577 I would look into TensorFlow running on a Raspberry Pi. Good Luck! Sounds like a fun project!

  • @pavanaha5372
    @pavanaha5372 3 года назад

    can it scan and recognize the objects on mobile screen?

    • @MarcdeVinck
      @MarcdeVinck  3 года назад +2

      Objects as in a shape and/or color, yes. But object recognition like a face, dog, or chair, you'd be better off running TensorFlow Lite on a Raspberry Pi. Needs more power!

    • @pavanaha5372
      @pavanaha5372 3 года назад +1

      @@MarcdeVinck okay thank u

  • @mossadsamaha4952
    @mossadsamaha4952 9 месяцев назад

    if i want to make real product. Could you please suggest better sensor than PIXY?

    • @MarcdeVinck
      @MarcdeVinck  9 месяцев назад +1

      You can use the PIXY! Camera for a "Real product"! It's great! I can't suggest a better sensor without knowing all the details of what you define as better? Larger image, faster shutter, lens, etc. There are lots of cameras available on the market for DIY electronics. Head over to your favorite online retailer and take a look at the specs to find one that matches your requirements. Just keep in mind the real value of the PIXY! is not the camera but the additional hardware and software that supports the camera.

  • @KKMaity
    @KKMaity 4 года назад

    Can it recognise angle between two objects or straight line

    • @MarcdeVinck
      @MarcdeVinck  4 года назад

      It could, but not on it's own. For something like that, you'd be better off running Tensor Flow and a camera.

    • @KKMaity
      @KKMaity 4 года назад

      @@MarcdeVinck oh i wanted something that could recognize and object's x and y co ordinates and angle between them with respect to hirizontal and vertical line

    • @MarcdeVinck
      @MarcdeVinck  4 года назад

      @@KKMaity It's possible, but there are a few things to consider that may need more power and/or integrate some AI. What do yo what to recognize? Is it a color different than the background? That's not too bad. Or is it a specific shape or "thing" that would need something like TensorFlow to run an instance model to compare and identify a video feed to know objects. Also, resolution and size are major concerns. How accurate? Of it is recognizing 2 yellow objects on a clean background (no other yellow) and you want to calculate the angle between +/- 5º, I would think you can do that.

    • @KKMaity
      @KKMaity 4 года назад

      @@MarcdeVinck suppose there is a background of darker colour and on top of it two circular objects..both of the objects have different colours and also lighter than background (example background black two objects red and yellow) I want to know x and y value of the center of those circles.. and want a robo arm to reach at that position..

    • @MarcdeVinck
      @MarcdeVinck  4 года назад

      @@KKMaity Seems possible. Again, depends on the resolution required, accuracy, and speed required. Also note that there is no depth, so again a depth camera running TF might be best, but you may be able to get some sort of depth with calculating the size of the objects?

  • @imwhatim7259
    @imwhatim7259 Год назад

    Your videos sound volume is low, please raiia bit

  • @akash_here
    @akash_here 4 месяца назад

    😅Hey i want a help on this type of project how can I contact you iam a engineering student from India can you help me out 👀

    • @MarcdeVinck
      @MarcdeVinck  4 месяца назад

      Sorry, I don’t do any consulting. Check online for some local groups. They may be able to help.

    • @akash_here
      @akash_here 4 месяца назад

      @@MarcdeVinck I need professional help it's last stage of very innovative project

    • @MarcdeVinck
      @MarcdeVinck  4 месяца назад +1

      @@akash_here If you need professional help, I suggest you look for a local Industrial Design company or Product Design company to help.