Hi Darwin. Why is it that when I actually check, Y and Z show the correct value and Z shows the wrong value?
@buichien5290Ай бұрын
The X coordinate origin is moved to the right camera
@ClaytonDarwinАй бұрын
This is a program I wrote one weekend 5 years ago. I don't have time to support it. You're just going to have to figure it out yourself.
@tahafarshbafАй бұрын
thanks for sharing
@buichien5290Ай бұрын
Hi Darwin. The camera returns 2 angles, which are the horizontal angle and the angle, right? How do you know it will return to any angle?
@ClaytonDarwinАй бұрын
They are based on the center of the frame.
@buichien5290Ай бұрын
@@ClaytonDarwin From there, how my angle is oriented towards the horizontal angle, help me how to do it in specific detail
@ClaytonDarwinАй бұрын
It's all in the code. I don't currently have time to revisit this project.
@jshetАй бұрын
Liked this video years ago. Just watched it again and I still like it. Cool project. Thanks for taking the time to share it.
@ClaytonDarwinАй бұрын
Thanks for taking the time to say thanks.
@skvallabАй бұрын
@claytonDarwin : Great explanation, i have a doubt, if it's just X,Y i'm bothered about, i'm better off with just one camera right?
@ClaytonDarwinАй бұрын
X and Y change depending on Z. If Z is fixed, then one camera will work. See my other video on measurement. I have an example.
@skvallabАй бұрын
@@ClaytonDarwin i checked your video, but can i work without having a known distance to calibrate in the screen?
@ClaytonDarwinАй бұрын
You have to have a known measurement in the formula.
@kevinrickey3925Ай бұрын
Glad I found you. Your code looks good, you deserve many more subscribers for the content you put out is very good friend.
@buichien52902 ай бұрын
Hello Darwin. Why can we detect motion but calculate slowly, and sometimes cannot calculate at all?
@ClaytonDarwinАй бұрын
I don't understand your question.
@buichien5290Ай бұрын
@@ClaytonDarwin Calculate at slow speed, then display delay
@ClaytonDarwinАй бұрын
You can change the frame rate.
@buichien5290Ай бұрын
@@ClaytonDarwin What is the unit when calculating xyz coordinates?
@ClaytonDarwinАй бұрын
Whatever you use for calibration.
@karinewilson17522 ай бұрын
I enjoyed the Monty Python intermission. Lol. Great video
@buichien52902 ай бұрын
Hello Darwin, can you change the motion detection, instead of detecting any motion, we change it to detect motion at a certain point on the hand, hope it's okay. Please help, fix the code and update it in my comment section. thank you so much
@ClaytonDarwin2 ай бұрын
It could be done. I don't have time to do it.
@buichien52902 ай бұрын
@@ClaytonDarwin Please help me, I'm working on a project to graduate from a university in Vietnam
@wiremonkeyshop2 ай бұрын
Great work! Really impressive!
@kabirnijjer32022 ай бұрын
This might sounds weird, but for a physics project, I need to create a instrument. I saw you video of your DIY banjo. If you still have it and would be willing to sell it to me for my school project, I would greatly appreciate it. I would pay shipping as well.
@ClaytonDarwin2 ай бұрын
You can email me with an offer. But it will have to be a good one. A really good one.
@shamblendavidson81662 ай бұрын
I would suggest not doing this if you ever want to walk in your back yard ever again.
@JuanGomez-bu4bm3 ай бұрын
Hello, what is your email address? I would like to contact you
@ammeriedem20843 ай бұрын
Excellent work ! . I have a question : Are the X, Y, Z, and D coordinates in pixel units?
@ClaytonDarwin3 ай бұрын
Inches.
@ammeriedem20843 ай бұрын
Hi Clayton, I'm planning to use a single camera in my project to detect various points of interest like banks and pharmacies and calculate their 3D coordinates to update the spatial database. Since the camera will be in motion, I'm wondering if your method is applicable and how I can adjust the code accordingly . Just to note, the camera's position is always known via GPS .
@ClaytonDarwin3 ай бұрын
Judging the distance from a single camera is very different from the method being demonstrated here. If you knew an accurate GPS location and azimuth to the target from two different places, you could assume two cameras and apply the same process.
@absabs89423 ай бұрын
What's the area it can cover?
@ClaytonDarwin3 ай бұрын
I think it was 36x36mm. This was a long time ago.
@crowwing93224 ай бұрын
Just had this happen and damn it hurt hahahaha don’t know if I should get a shot now 😅
@lucasxas4 ай бұрын
Hi Clayton, is it possible to use this approach with cameras with different FoV angles?
@ClaytonDarwin4 ай бұрын
Yes. Just more math.
@thiagosantos86744 ай бұрын
Hello, I would like to measure some cylindrical rock samples, in order to know which is the shortest side of the cylinder if the sample is broken and the broken face is diagonal. It would be a kind of irregular polygon where one side would be smaller. How do I make the code create an outline and identify the shortest side, putting the measurement in centimeters?
@ClaytonDarwin4 ай бұрын
Probably you could use opencv to detect edges/lines, or possibly a closed polygonal shape, and then build your dimensions from that. That's the way I would start tackling the problem.
@mehmetaliduran93304 ай бұрын
what is the best for this project stepper motor or servo motor ?
@ClaytonDarwin4 ай бұрын
Servos are easier. Steppers with gearing are more accurate.
@mehmetaliduran93304 ай бұрын
@@ClaytonDarwin thank you so much
@marcocastaneda3344 ай бұрын
Please driver code arduino and gbrl
@ClaytonDarwin4 ай бұрын
This is a very old project. The code was written in Assembly. I'm not sure if I have it anymore.
@trexieramirez39754 ай бұрын
Hi! What camera module you used for that?
@ClaytonDarwin4 ай бұрын
Any that will work on your system. I've used several.
@melihcanyldz3684 ай бұрын
Can you share your code that you used for this project
@ClaytonDarwin4 ай бұрын
Gitlab: duder1966
@SystemsPlanet4 ай бұрын
Nice ride. Nice music.
@YusufBAYLAV4 ай бұрын
I missed riding too..
@daddytolentino35405 ай бұрын
Cool, I'm glad i get to watch this!. is it possible to rewrite or just add the code and measure the circumference of the circle?
@ClaytonDarwin5 ай бұрын
Yes. Any distance could be treated like a diameter and multiplied by pi.
@user-nf8le2lv7r5 ай бұрын
hello sir, I apologize in advance if my English pronunciation is lacking. I would like to ask about the automatic measurement program. especially in the camruler_cal.csv file. I understand that the conversion process is carried out for every 10 pixels based on pixel_base = 10. but I am confused, where are the pixel and scale values in the .csv file obtained from?
@ClaytonDarwin5 ай бұрын
When you do the calibration the file is created.
@user-nf8le2lv7r5 ай бұрын
@@ClaytonDarwin However, if I use your program on Git Hub, the .cv file already exists. This means that if I rewrite all your programs, so that mean a new .csv file will be created containing pixel and scale data for calibration?
@ClaytonDarwin5 ай бұрын
Whenever you do the calibration a new calibration file is created.
@ClaytonDarwin5 ай бұрын
The other csv file is the setup variables.
@user-nf8le2lv7r5 ай бұрын
The calibration do you mean is a measurement to get the cal_range value in config mode?
@Talisk3r5 ай бұрын
What kind of welding is that. I've never welded before so i want to research it.
@ClaytonDarwin5 ай бұрын
Solder. Not welding
@Talisk3r5 ай бұрын
@@ClaytonDarwin thanks for the quick answer. Well if it's solder I can do it. I do a lot of soldering for electronic. I surprised that you can have any kind of torque on those penny. The screw slot most help. Thanks a lot for the inspiration. I had a similar idea in mind for a long time and it's nice to see that it works just fine.
@ClaytonDarwin5 ай бұрын
The slot of the screw handles the torque. The solder just holds the penny in place.
@James-un6kx5 ай бұрын
Engineers need to come out with better neopixels.
@YusufBAYLAV5 ай бұрын
Oh wow, it's been so loooong. Appreciate everything, your precious friendship. You are a noticeable role-model to me. Say hi to beaker 😁 May you and your family be always happy. Talk to you later on. 🖖🏻🙏🏻
@acf28025 ай бұрын
6W is "too much power to be sitting around running all the time"? Have you heard of a lightbulb, sir? Were you taking Xanax back when incandescent lightbulbs consumed 60-100W each?
@ClaytonDarwin5 ай бұрын
Nope. Never heard of it. What does it do?
@justinswett37245 ай бұрын
Wonder if you pinned blue to 0 how much less power it would draw. Or conversely only bumped blue. Is it a 1/3 or does it pull more?
@ClaytonDarwin5 ай бұрын
Roughly 1/3 if a single LED is used.
@justinswett37245 ай бұрын
I thought blue used more energy?
@rabiddawgr5 ай бұрын
If you're building cubes you will want to use led matrices. Ws2108 and their like are extremely inefficient, as you've demonstrated. Their onboard controllers just drink power even when the leds are off.
@Chris-oj7ro5 ай бұрын
So no power sipping option for RGB?
@rabiddawgr5 ай бұрын
Just not addressable LEDs. Normal RGB LEDs you can.
@JuanAlvarez-wn5ip5 ай бұрын
thank you, useful tip
@jeffschroeder48055 ай бұрын
Whoda thunk it? Never realized how much current those panels draw when they are doing nothing. Thank you, the cube is really fun to watch but fun to program not so much? I was trying to visualize the 5 panels laid out flat to figure out how to animate between them but I was drawing too many amps, time for a nap.
@ClaytonDarwin5 ай бұрын
Lay out all 5. Flip/roll the 5th one back onto the 4th one so that the 2 original top edges are touching. The 5th is upside down on the 4th.
@ColinMcCormack5 ай бұрын
I would control each panel separately. Same power, 5x the speed
@ClaytonDarwin5 ай бұрын
good idea. I thought about that, but I haven't been motivated enough about this project to do it.
@neoeldexter5 ай бұрын
Would also do that with the power. wire the panels in parallel. this way the voltage drop at the last panel won't be as much of an issue.
@SystemsPlanet5 ай бұрын
Love it!
@mrbulp5 ай бұрын
Would you share the link to buy that small neopixel? I got the standard size but not that 2 small
@ClaytonDarwin5 ай бұрын
These are the ones I used: www.lcsc.com/product-detail/Light-Emitting-Diodes-LED_TCWIN-TX1813N1_C784565.html
@mrbulp5 ай бұрын
@@ClaytonDarwin thank you.. i thought it fully ensemble.. thats why i couldnt find it in aliexpress etc.. Thanks bro
@ClaytonDarwin5 ай бұрын
Yep. I made them. They are pretty expensive. About 10 cents per pixel.
@t1d1005 ай бұрын
👍
@boultifnidhal26005 ай бұрын
That was really helpful, thank you so much, keep up the great work.
@robinleebraun77395 ай бұрын
Interesting experiment. Good use of simple machine technology. But, to be honest, old school friction pegs are much simpler and if done correctly, are just as effective as tuning machines. And you don’t need metal working tools or a welder. Just the correct reamer and the ability to carve pegs precisely. Violins and some banjos are still made like that. I built a few pretty good pickups but I will still buy them because they are far more work than they are worth.
@ClaytonDarwin5 ай бұрын
This is about aesthetics, not practicality.
@0917salman5 ай бұрын
Hello, can you send me the program and training file, thank you
@ClaytonDarwin5 ай бұрын
Gitlab: duder1966
@3cl15 ай бұрын
What a great song, be safe.
@ClaytonDarwin5 ай бұрын
It's one of those songs I can listen to over and over.
@SystemsPlanet5 ай бұрын
Thanks for filming, editing, adding music, and not crashing.
@ClaytonDarwin5 ай бұрын
I almost dumped it twice on this ride (not the part shown). Hit dirt/gravel on these country roads.
@YusufBAYLAV5 ай бұрын
That's freedom
@ClaytonDarwin5 ай бұрын
For 3 minutes and 45 seconds.
@muhammadrezap32225 ай бұрын
Hello sir, I'm a beginner in software programming and I'm interested in the measurement program you created. I've also accessed the program file through Git Hub. but in the program, I'm confused about how the steps are taken to get the actual unit of measure. can you explain it to me?
@ClaytonDarwin5 ай бұрын
The unit of measure depends on what measure you use during calibration. In the example I used mm.
@ClaytonDarwin5 ай бұрын
This project is retired.
@ClaytonDarwin5 ай бұрын
FYI: This system has been retired for several years. I'd do it with docker containers if I did it again.
@yerachmielb1Ай бұрын
Ok, now we're gonna need you to do it and post the video 😁
@ClaytonDarwinАй бұрын
Don't hold your breath. I don't have a use for this system anymore, but I'd definitely use containers if I did.