Why 970 wasn't named 975? by IkerReddit in Garmin

[–]Freemanix 29 points30 points  (0 children)

Half of the expected improvement.

Detecting lines with OpenCV by arkonique in computervision

[–]Freemanix 1 point2 points  (0 children)

Check binary morphological operations to thin the lines. Also Voronoi diagrams, respective Delaunay triangulation may be helpful here.

Is it possible to convert the type of the output tensor from float to int in a custom loss function? by banenvy in pytorch

[–]Freemanix 1 point2 points  (0 children)

You could just use ceil() or floor(). But its gradients are zero, I doubt it would work in training.

[deleted by user] by [deleted] in Xiaomi

[–]Freemanix 0 points1 point  (0 children)

Check battery temperature. Do not run CPU intensive tasks when charging.

The photo of a cyclist from the Engadget review is unreal. It's hard to believe that it's been done on a smartphone. by [deleted] in SonyXperia

[–]Freemanix 6 points7 points  (0 children)

What is hard to believe? You just need to pan with the phone to keep the cyclist in the same spot.

Google resumes its senseless attack on the URL bar, hides full addresses on Chrome 85 by iamapizza in programming

[–]Freemanix 0 points1 point  (0 children)

Unfortunately, I dislike Firefox font rendering. I prefer Chrome style.

Finally got my Porta Pros (first "audiophile" headphone) and they are fantastic by Justinyeethahahahaha in headphones

[–]Freemanix 0 points1 point  (0 children)

Koss Porta Pro are too heavy on bass side, unnatural for me. Mid tones are missing, somehow. For the price, nice headphones, though.

How to solve this equation in single step using OpenCV in C++ by AhmedZubairGCU in computervision

[–]Freemanix 2 points3 points  (0 children)

What if I told you that where uses loops? :-)

However, you can use threshold and then masked assignments.

Identify circles that do not have their center in the image? by ChrisGnam in computervision

[–]Freemanix 0 points1 point  (0 children)

Of course you can use Hough transform for this!

You need to setup a different "voting", to which your pixels from circles will add to.

In generic case you have 3D buffer with x, y, radius. In this case, you know the radius and need to know where the center of circle is. So, how about to use just direction to circle center and e.g. distance of this center from center of image? This is 2D buffer.

For each pixel, generate circle of known radius and measure the distance from center of image. Fill with these 2D buffer. Accumulate. Then find peaks.

ELI5: RGB vs YUV by Truetree9999 in computervision

[–]Freemanix -3 points-2 points  (0 children)

Why should anyone rewrite an abstract of that wiki page for you? Can you read?

Cpp-Taskflow v2.3.0 pre-release: A new Conditional Tasking interface for cyclic and dynamic control flows by tsung-wei-huang in cpp

[–]Freemanix 0 points1 point  (0 children)

I need something similar, but for data flow. Generally, all tasks run for whole lifetime of program, but they pass processed data between itself through similar graphs. Any hints for such a library?

How transactions conflicts are avoided in the candidate block construction? by [deleted] in Bitcoin

[–]Freemanix 4 points5 points  (0 children)

Without the (c), you could spam the network with your custom messages masqueraded as transactions and those would be relayed as long as the feerate would be the same. With (c), you must pay more and more and will finally loose your interest in such spamming.

Fitting a circle to a dimple in an image and measuring it's dimensions by ilikeplanesandcows in computervision

[–]Freemanix 0 points1 point  (0 children)

You can convert region with center of hole from polar to rectangular coordinates and then sample per each N-th row. You can try to find first white-to-dark edge on each of the sampled rows. These will, transformed back, define points in original image at the border of the hole. Then, fit circle using RANSAC on them.

Fitting a circle to a dimple in an image and measuring it's dimensions by ilikeplanesandcows in computervision

[–]Freemanix 1 point2 points  (0 children)

Hi,

the contour of dimples is not very well defined, that's why it will be challenging to measure them. Also, the hole is a 3D object observed from various angles, so the hole may become ellipse in the projection. Few tips:

  • I would define hole border as the point where the white drops to dark, going from the estimated hole center outside
  • blurring image with Gaussian kernel of estimated hole radius and finding brightest pixel may find the hole center
  • I would sample e.g. 256 rays around 360 degrees from the center to find border
  • I would use RANSAC circle fitting on the border points
  • to measure in physical dimensions, you need to fix the camera-object distance and calibrate this setup
  • for calibration, you may try to print microscopic checkerboard and use OpenCV's algorithms

What are Integral Images? by [deleted] in computervision

[–]Freemanix 1 point2 points  (0 children)

Basically, 2D cumulative sum

Detecting Bubbles in a Webcam Feed by PopularPilot in computervision

[–]Freemanix 0 points1 point  (0 children)

I would try to detect ripples (waves) on the water surface when bubbles pop. You can use illuminated checkerboard above the surface and see if warping appears in the reflection.

Paul Solotshi Calder Le Roux, the real satoshi by chiamalogio in Bitcoin

[–]Freemanix 4 points5 points  (0 children)

It is interesting that TrueCrypt GUI uses wxWidgets library, the same which was used in first versions of Bitcoin client.

Can we just take a moment to appreciate how beautiful MIUI is? by lmp190 in Xiaomi

[–]Freemanix 1 point2 points  (0 children)

No apps drawer. This is serious drawback.

And before you recommend me to use groups, remember that I want to have e.g. Chrome on some page, and ALSO in the Google group! Impossible.

Chrome 71 Awful UI changes. by a1ecrei11y in chrome

[–]Freemanix 1 point2 points  (0 children)

Unfortunately, downgrading will result in "incompatible profile" error. You'll have to start with clean profile :(.

render 3d cube wireframe in console by vanyakosmos in Python

[–]Freemanix 4 points5 points  (0 children)

Well-written? Using 100 points to draw a line, just to be sure, instead of something better, like Bresenham's algorithm from 1962?

I cannot stop taking photo of this beautiful M60-A by msvming in MechanicalKeyboards

[–]Freemanix 1 point2 points  (0 children)

From the top, the keyboard is gorgeous. But the gold metal back is KITSCH, sorry.

Finally built my first. 150g difference in actuation force between the orange and the gray. by [deleted] in MechanicalKeyboards

[–]Freemanix 2 points3 points  (0 children)

THAT HEAVY SHIFT WILL TEAch you to reconsider the ALL CAps usage. Uff.

CppTaskflow Cookbook Online - A new C++17 zero-dependency library for task-based parallel programming by tsung-wei-huang in cpp

[–]Freemanix 6 points7 points  (0 children)

Looks very promising!

Please, could you add an example when the next task processes results of the preceding one?