Skip to content

Commit

Permalink
chore: 提示、README更新
Browse files Browse the repository at this point in the history
  • Loading branch information
cheanus committed Jan 8, 2025
1 parent 5ea5a0e commit f30163e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ NOTHING to do with astrology, metaphysics and telepathy.

## 特点 | FEATURES

-**自动识星**:通过拍摄的星空照片,自动识别照片中的星星,无需手动辨识。
- 😀**交互简单**:标星、标铅垂线、设置拍摄时间,然后就是点击按钮的事了,熟练掌握后整个过程不到**5分钟**。原本的耗时步骤,如查询天体天文数据,已被API和按钮所实现。
- 🔒**隐私友好**:项目采用前后端分离架构,服务器后端只在核心计算时获取必要信息,并在结束计算后删除所有信息
- 🔒**隐私友好**:项目采用前后端分离架构,服务器后端只在核心计算时获取必要信息,并在结束计算后删除
- 🎯**精度良好**:我们在各个模块中采用了强稳健性的算法,对环境噪声、标记误差有良好的抗噪能力,误差通常可稳定在**30km**以下。
-**完全开源**:我们使用AGPL v3开源,目的是为尽可能地使该方法透明,同时欢迎社区共建。
-**Automatic star recognition**: By capturing starry sky photos, stars in the photos can be automatically recognized without the need for manual recognition.
- 😀**Simple interaction**: Marking stars and plumblines, setting the time and then simply click a button. Can finish within **5 minutes** when familiar. All time-consuming steps, like searching for data of celestial bodies, have been achieved with API and buttons.
- 🔒**Privacy friendly**: Front-end based and self-deployable, all key steps running locally.
- 🔒**Privacy friendly**: The project adopts a front-end and back-end separation architecture, where the server backend only retrieves necessary information during core computing and deletes it after the computation is completed.
- 🎯**Good accuracy**: We applied robust algorithms in modules, making it resilient to environmental noises and marking errors. The error can usually be limited to **30km**.
-**Fully open sourced**: AGPL v3 open source protocol adopted. Aiming to make the approach as transparent as possible and to welcome community contributions.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "starlocator",
"version": "2.0.0",
"version": "2.1.0",
"description": "",
"private": true,
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ <h2>特色功能</h2>
<h3 id="starRecognition">天体识别</h3>
<p>如果图片上有足够多星,你可以使用“天体识别”功能,以便自动识别和填写所有天体名称和坐标。你需要:</p>
<ol style="line-height:1.75;">
<li>设置正确的拍摄时间(否则无法正确识别太阳系天体);</li>
<li>准确标记至少3个天体(越多越好);</li>
<li>在设置-天体识别中,设置视野宽度角的估计范围;</li>
<li>在左侧工具栏点击“天体识别”按钮;</li>
Expand Down
6 changes: 6 additions & 0 deletions src/interface/functions/CeleRecognition.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ class RecognizeStars extends DefaultbuttonFunctioner {
if (!this.interactPhoto.movable) return;

if (this.status === recognitionStatus.READY) {
// 检查数据
if (this.interactPhoto.CeleArray.num() < 3) {
this.interactPhoto.tips.innerHTML = '请至少选择三颗星';
return;
}

this.interactPhoto.buttonFunctioner = this;
this.status === recognitionStatus.SUBMITTING;
} else {
Expand Down

0 comments on commit f30163e

Please sign in to comment.