How the tool recognises your sky
A photo of the sky does not say where it was taken or where the camera was pointing. But the stars form unique patterns. The tool works in four steps:
- It finds the stars. It looks for sharp, isolated points of light and discards what is not a star: foliage, street lamps, reflections on water, lit windows.
- It measures triangles. It builds triangles between the brightest stars. The shape of a triangle does not change when the photo is rotated or enlarged.
- It looks them up in the catalogue. Each triangle is compared with those formed by the roughly 5,000 stars visible to the naked eye (Yale Bright Star Catalogue and Hipparcos).
- It checks. A position is kept only if dozens of other stars in the photo also land on catalogue stars.
The result is an exact match between each point of the image and a point of the sky. Astronomers call this astrometry, or plate solving. It is the same engine as Sentinel, the Vigi-Sky sky analysis software, compiled here to run inside a web page.
What works, and what does not work yet
We measured the tool on 21 night-sky photos by different photographers, published on Wikimedia Commons. It recognises 9 of them. Of the 15 single-exposure photos with a normal field of view, it recognises 9; the other 6 are ultra-wide views of the Milky Way, which it cannot read yet.
- At least 8 sharp stars, as points rather than trails: an exposure of a few seconds, phone resting on something or on a tripod.
- The phone’s main lens, not the zoom or the ultra-wide lens.
- A clear sky, without the Moon in the frame, and little landscape.
- The original photo: messaging apps and social networks compress it and strip its date.
The tool does not yet name the Moon, satellites or aircraft. If a bright “star” in your photo has no name, it may be a planet: enter the date of the photo so that it can be placed.
Does this photo show a real sky?
When the sky is recognised, dozens of points in the photo line up with real stars, to within a few arcminutes. An invented sky, made by software or by an AI, does not pass this test: its stars are scattered at random.
If you enter the claimed date, time and place, the tool also computes whether that part of the sky was above the horizon at that moment. A photo “taken last night in London” showing a sky that had already set cannot be what it claims.
What the test does not tell you: a real photo of the sky may have been edited, and an object can be added on top of a real star field. A recognised sky proves the star background is real, not that everything in the image is. For a video, see how to check a video of the sky.
Your photo stays on your device
The photo is read and analysed by your browser. It is not sent to any server, at Vigi-Sky or elsewhere, and nothing is kept once the page is closed. The date and place, when they are stored in the file, are read locally to pre-fill the form. The annotated image exists only on your device until you choose to download or share it.
Frequently asked questions
How can I tell which star I photographed?
Drop the photo into the tool above. If it recognises the star field, it writes the name of each bright star next to it and draws the constellations. For a star you can see right now, /sky names it live when you point your phone at it.
Is my photo uploaded to the Internet?
No. The whole analysis runs in your browser. The photo never leaves your phone or computer.
Why is my sky not recognised?
The most common causes: fewer than 8 sharp stars, stars stretched into trails by too long an exposure, an ultra-wide lens, clouds, or a photo compressed by a messaging app. Try the original photo, taken with the main lens.
Does it work with a phone photo?
Yes, if night mode recorded at least 8 sharp stars. Rest the phone on something or use a tripod: hand-held, the stars smear and the tool rejects them.
Can the tool tell whether a photo of the sky is fake?
Partly. If the sky is recognised, the star background is real. With the date and place, the tool also checks that this sky was visible at that moment. It does not detect an object added on top of a real sky.
How is this different from a classic astrometry site?
Astrometry services receive your photo on their servers and answer in a few minutes with coordinates. Here the computation runs on your device, in a few seconds, and the result is an annotated image ready to share. In exchange, the tool is limited to naked-eye stars: it cannot read a narrow telescope field.
Sources and method
- Star positions and constellation lines: Yale Bright Star Catalogue and Hipparcos, via d3-celestial (BSD licence). About 5,000 stars down to magnitude 6.
- Field recognition: the star solver of Vigi-Sky Sentinel (triangles, verification against the whole star set), compiled to WebAssembly.
- Planet positions: JPL approximate orbital elements (“Approximate Positions of the Planets”), accurate to a fraction of a degree.
- Sample photos: “Orion constellation” (CC0) and “Big Dipper Constellation Over Dunes”, National Park Service (public domain), on Wikimedia Commons.