Counting Kernels of Corn [closed] - vb.net

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm looking for some guidance here. I primarily am a frontend developer. What I am trying to figure out is how an algorithm can be implemented to count kernels on an ear of corn.
From my initial research it seems there are a couple of different directions to go. Main ones I have seen are a SIRF type of implementation and others call for conversion to the HSV color space or LAB color space in order to then to normalizations and then counting.
For reference usually the corn that will be counted is "dent" corn. Here is an example:
This will be implemented in VB.net, but I can always translate the algorithm if needed.
Thank you for your help!

Related

Steganography in Doom 2016 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
For the last couple of weeks i'v been trying to replicate the method in which Id Technologies used to hide hidden messages inside their own songs. For reference: https://youtu.be/yzFit0nldf4 .
I'm not sure if this was made by solely a software or a very smart use of heavy musical instruments, but that's what im trying to find out.
Using softwares like coagula might do a similar thing, but the brilliancy was how the coded sound was hidden. If you attempt to hear rendedered output it would sound obvious and aweful...
So, my question is: does anyone know how they did it?

Getting Mac system temperatures with Objective-C [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
How do I access the system temperatures and fan speeds of a Mac using Objective-C? I have seen it done in applications like iStat, but I can not figure out how to do this. Does anyone know how?
You may also take a look at https://github.com/fmorrow/SMCWrapper - it's an object-oriented version of smc.c/smc.h. (The code of SMCWrapper is well commented)
Currently, it opens a connection using IOKit to AppleSMC IOService, and uses it to makes calls to the SMC chip. You can read keys to NSString, but setting key value is experimental at this time.
Take a look at https://github.com/lavoiesl/osx-cpu-temp/blob/master/smc.c for sample code that reads the temps from the SMC.

Are there other programming techniques? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have realized that most of the problems that I solve on a day to day basis are done via two programming techniques: iteration or recursion.
Are there other techniques out there? Any book recommendations or online references?
the programming techniques that you use to solve the problems can be divided into types of algorithms (not into the loop or technique they use in there program, like you mentioned). some of the methods are..
1. Divide and conquer
2. greedy
3. dynamic programming
you can refer this link to read more..

Paths for 2D Objects in SpriteKit [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
So, I am currently making a 1942-style game. How can/should I set up the path for my enemies? I know I could do it with CGPathRef but is there an easier way to do it? It seems pretty out of place for more complex paths like for example these 2 I'd like to implement:
http://i.imgur.com/K4WYgma.png
(Sorry I can't directly post pictures, I need at least 10 reputation)
Or at least, I haven't found any documentation explaining how to create more complex shapes with CGPaths.
So what are your recommendations?

How does software interact with hardware at the lowest level? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'd love to know/see some example code from the lowest level. By this I mean the code that for example, sets the voltage to the speakers, or something equivalent. I can't imagine how this would look/work.
How could a piece of code possibly set/change a physical quantity? I'm not looking for some driver code, but the actual code that makes hardware 'work', or does it work in a different way?
Math, Luck and Magic
Read up on Computer Organization and Computer Architecture and also Hardware Description Languages.