User guide¶
FlockFlow counts cows, goats, horses, or sheep in photos and directional crossings in live camera or video sessions. Detection and counting run on your iPhone. Visibility, crowding, lighting, and camera placement can affect accuracy. Review important livestock counts.
Free and Pro¶
| Feature | Free | Pro |
|---|---|---|
| Photo counting | Included | Included |
| Bundled example video | Included | Included |
| Live-camera counting | Two active minutes per session, unlimited new sessions | No app-imposed time limit |
| Your own videos | Count the first two minutes | Count the full video |
Setup and interruptions do not consume the free camera allowance. Interruptions do not reset it. The camera shows remaining time and warns near the limit. Your own videos start without a purchase prompt and stop after the first two minutes of playback (or at the end of a shorter video). Pauses do not reset the video limit. At the limit, counting stops and results remain available without purchase. Photo totals do not change History or pasture movement totals.
Open Settings → FlockFlow Pro for purchases, restoration, offer codes, subscription management, and terms.
- Annual renews automatically unless canceled. Eligible customers can choose a seven-day free trial when offered. The displayed annual price applies after the trial unless canceled.
- Lifetime requires one payment, without renewal or an annual trial.
- Redeem Offer Code opens Apple's sheet. Apple confirms eligibility, duration, and renewal terms. A code does not promise permanent Pro or a full year free unless its terms say so.
Apple handles payment and decides refunds. The trial is not a guaranteed refund window. Dismiss the purchase screen to continue with free features. Its Try 18-second example action opens setup without a purchase or trial when available. Counting still requires Start Count.
Pro follows the Apple Account used for App Store purchases. Restore Purchases can recover access on another supported iPhone, but does not transfer history or media. Previous paid-download customers retain their purchased functionality. Purchases, restoration, and renewal confirmation may require internet. When access expires, free limits return and previous results remain available.
Automatic animal detection¶
There is no animal picker. The active model automatically detects all supported categories together: Cow, Goat, Horse, and Sheep with the bundled four-class model. Older sheep-only models still count only sheep. A dedicated photo model uses its own supported categories.
Photo review shows the combined visible-animal total and a per-animal breakdown. Camera/video counts show combined directional totals and per-animal inbound/outbound counts. The animal category is stabilized when a track is confirmed, so a later classification flicker does not create a new identity or change that track's species. An initially incorrect classification can still produce an incorrect species breakdown.
History and count details retain the breakdown, including after pasture reassignment. Older sessions use their saved animal type, or sheep when none was saved. Pasture movement totals remain combined crossings, not species-specific inventory. The sheep examples below also apply to the other supported animals.
Count from a photo¶
- Choose Count from a Photo on Home.
- For an album image, choose Add Photo from Photos at the lower left.
- Select one image in Apple's picker.
- Alternatively, choose Take Photo to capture a new image with the rear camera. Keep the iPhone steady. Animals in view shows a live count of currently visible, confirmed tracks, not accumulated crossings. Thin boxes mark those sheep in the live preview; numbered references appear only after capture.
- The captured image is analyzed again for the final Animals detected total. Review the thin boxes and sheep references numbered 1 through the total. The final count can differ from the live preview.
Use Retake to return to the camera, Choose Photo for another album image, or Done to discard the working result and return Home. Canceling or failing to load a replacement keeps the current result.
Photo counting needs no zone and does not count directional crossings. The preview uses the same on-device tracker as live/video counting, but its count includes only sheep visible in the latest processed frame. It is not a running total. Photo references are local to each final image, not live track IDs or persistent animal identities. Zero is a valid detection result. Hidden, overlapping, or distant sheep may be missed. Photo filtering tries to remove small duplicate detections on an animal's body or head, but can also miss a small animal that overlaps a larger one. Review the numbered boxes for incorrect detections.
Photo preview does not record video. The camera stops during review. The working photo stays in memory and does not create a saved photo or History session. Original Photos items remain unchanged. Leaving or backgrounding during processing cancels pending work. Photo counting does not change the live/video counting option.
Before live counting¶
- Mount the iPhone securely in portrait or either landscape orientation.
- Keep the crossing route centered in the preview.
- Place the zone so sheep cross it rather than walk along it.
- Avoid sudden camera movement during counting.
Use a physical iPhone for camera capture. The Simulator has no rear camera.
Start a count¶
- Choose Try 18-second example on Home for the bundled sample. Alternatively, choose Live or video for camera setup.
- For a video, use the selected-video controls to activate a movie. Try Example Video is also under More options.
- Optionally choose a pasture. Unassigned is always available.
- Draw the counting zone across the route.
- Check the inbound direction.
- Choose Start Count when the detector is ready.
Setup detects and tracks sheep, but does not count crossings or record video. Start Count preserves the preview and tracks while starting fresh crossing totals and recording. Earlier movement does not count. The bottom-center Start control becomes Stop. In landscape, controls move to the side. Landscape counting keeps Inbound, Total, and Outbound in a compact strip at the top, with Stop and other controls on the right so the center of the scene stays visible. Choose Animals near the lower-left edge to review per-animal totals, then Done to return to the preview. Model and speed information is available under Performance. Setup and zone editing also keep information near the edges. With larger text, scroll the information area to reach additional details; Start and Stop stay visible. For free camera sessions, the remaining timer stays above the scrolling details and shows an orange warning symbol when 30 seconds remain.
You can rotate between portrait and either landscape orientation during setup, zone editing, or counting. Rotation keeps the current zone, tracking state, and totals; the inbound arrow stays attached to the same side of the zone. If the interface does not rotate, turn off Portrait Orientation Lock in Control Center. Keep the camera steady: physical movement can still lose tracks or affect crossings. Annotated camera videos keep the orientation and canvas chosen when counting starts, even if you rotate the interface later.
The camera targets 60 frames per second when supported, with a 30 FPS fallback. Detection can run more slowly depending on the iPhone, selected counting option, and heat. Camera recordings target the configured capture rate; actual output depends on processing capacity.
Selected videos¶
- Open the video control in Live or video.
- Choose Add videos from Photos.
- Select one or more movies in Apple's picker.
- Confirm the additions to Selected videos.
- Tap a thumbnail separately to activate that movie.
Adding movies does not open playback, activate inference, or start counting. You can add more later or switch thumbnails without losing earlier selections. Photos controls browser ordering. FlockFlow keeps the returned selection order and appends later additions. It does not sort by filename or import date. Already-added Photos identifiers are not imported again.
App-owned copies persist on this iPhone across relaunches. Clear Selected Videos removes those copies and their metadata, not the Photos originals. Clearing an active selected video returns the input to the camera. Removing the app also removes its copies. A failed addition retains successful selections. Failed activation retains the previous usable input.
Adjust the counting zone¶
- Drag an endpoint to move it.
- Drag across empty preview space to draw a new center line.
- Open Edit counting zone → Adjust for precise endpoint controls.
- Choose Flip to reverse inbound direction.
Start Count saves the placement. The zone stays locked during counting. Stop the session before changing it. Camera and selected-video inputs remember separate placements.
Understand live counting¶
| Label | Meaning |
|---|---|
| Tracking | The sheep is visible but has not completed a crossing. |
| Pending | The sheep crossed the first boundary and is moving through the zone. |
| Counted | The sheep completed a valid directional crossing. |
A track ID identifies an internal track, not the total or a permanent animal identity. IDs can exceed totals because tracks also include sheep that retreat, disappear, or appear again. FPS measures processing speed, not camera capture speed.
The bottom bar shows the selected pasture, Stop, and performance details. The pasture control shows the current association without changing it. Performance details show processing speed, time, and dropped frames. The video filename stays hidden during counting.
Finish and review¶
- Choose Stop.
- Choose Finish session to save the count, or Keep counting to continue.
A selected video also finishes at the end of the file. Summary shows directional totals, duration, input source, optional pasture, performance, and track diagnostics. Net movement means inbound minus outbound. Home and pasture totals use movement sessions, not photo detections. See all on Home opens History. The overview shows the latest completed count, not a sum of past counts. The seven-day chart uses the last completed count on each day. Days without a count are left blank. Earlier sessions remain available in Completed counts.
Save an annotated video¶
FlockFlow creates a temporary annotated recording during counting. It includes the app icon and name at the bottom left. Selected-video recordings preserve source audio when present and target source cadence up to 60 fps. Live-camera recordings are silent. The result preview starts muted. Use Unmute or Mute to control available audio.
- Choose Save resolution: 480p, 720p, or 1080p.
- Optionally enable Add session details.
- Choose Save to Photos.
Output preserves aspect ratio and orientation. The temporary recording has an HD-sized limit of 1280 pixels on the long edge for selected videos. A 1080p export may upscale it without adding detail.
Session details add the pasture, completion date/time, and final total. This option starts disabled for each session. The preview shows its placement. Changing save options prepares another copy. Save waits for or reuses that preparation rather than starting it again.
Video is ready to save means preparation finished, not that Photos contains the video. Saved to Photos appears only after Photos confirms the save. On failure, Retry Save reuses the prepared copy. You can change save options before retrying. Leaving Summary removes obsolete temporary copies. Source movies remain unchanged.
Use diagnostics¶
Open diagnostics from Summary or a History session to inspect each track. The timeline includes confidence, pending transitions, counted direction, and lost or not-counted outcomes.
- Observed means the detector result matched the track.
- Predicted means the tracker estimated its position during a short missed detection.
Older sessions may have no diagnostics.
Manage pastures¶
Pastures are optional. You can count without assigning one. The Pastures tab opens a map of saved boundaries and pasture locations. Tap a pasture marker to preview its area and livestock count, then choose Open Pasture for details. Closing a preview keeps your current map view. Show All Pastures fits the saved pastures again after browsing. Pasture List provides access to every saved pasture, including those with No Location Yet. Choosing a located pasture in that list focuses its marker; choosing one without a location opens its details. Browsing the map does not request location permission.
Choose Add pasture, enter a name and an optional livestock count, then choose Create Pasture. No location, map, or boundary is required. Open a pasture to see its area, manual livestock count, and separate movement history. Choose Edit Details to change its name or livestock count. Existing pastures, locations, and counting associations remain preserved.
Browsing or creating pastures does not change the pasture associated with counting. Choose Use for Counting on a pasture's detail screen to select it for the next count; this does not start counting. On the map, open the Counting location control and choose Count Without a Pasture to clear that selection. Unassigned counting also remains available in counting setup. All pasture measurement and manual inventory features are free, without new usage limits. Coordinates and boundaries remain in local pasture records, not completed-session summaries.
Measure pasture area¶
- Select a pasture on the map and choose Measure Area, or Edit Boundary for an existing measurement. These actions are also available in pasture details. They open a full-screen map without the tab bar or a pasture-details form.
- Select GPS and visit each corner in order, choosing Add GPS Point. Alternatively, select Map, move the crosshair to each corner, and choose Add Map Point. The crosshair appears only for map placement; GPS points use your actual location. Adding a map point keeps the current view so you can continue placing corners. More Options → Use My Location centres the map without adding a point. More Options → Add Coordinate Point allows numeric entry without location permission.
- Add at least three distinct points that form an area. The last point automatically connects to the first.
- Review Estimated Area above the map and correct any crossing edges.
- Choose Save Boundary to update only this pasture's measurement. The pasture name, livestock count, and counting selection are not changed.
Each pasture supports one continuous boundary, including irregular shapes. Interior exclusions and disconnected parcels are not supported; save separate parcels as separate pastures. Tap a numbered map point, or open Points and select a point, to open its editing sheet. Enter corrected coordinates there, delete the point, or choose Move on Map. Moving and inserting points return you to the full-screen map: position the crosshair and choose Place Point Here or Insert Point Here. The point number identifies the pending operation. Confirm or cancel placement before saving the boundary. Cancel leaves the original point unchanged. Moving a GPS point makes it manually placed, without its former GPS accuracy claim. The Undo Boundary Edit arrow beside the GPS/Map control reverses point edits, including Clear Boundary. Clearing a boundary and choosing Save Boundary removes only its measurement. The point list, coordinate tools, and measurement help stay in sheets or secondary controls, so they do not shrink the map into a narrow form row.
GPS uncertainty is shown in metres. FlockFlow briefly waits for a better fix, then requires explicit confirmation if uncertainty is worse than 10 metres. An expired fix must be requested again. The displayed threshold is not a guarantee of area accuracy; small plots are especially sensitive to GPS error. The last GPS location is a snapshot, not continuous tracking.
Area is an approximate horizontal map area using a spherical Earth model and short great-circle edges, not a slope-adjusted ground surface or legal survey. Boundaries must fit inside the hemisphere centred on their first point; globe-spanning coordinates are rejected. Review important measurements.
Settings → Pasture Measurement → Area Units offers Mu, Hectares, or Both (the default). Standard Chinese mu (市亩) is used: 1 ha = 10,000 m² = 15 mu. Values show up to two decimal places; a positive value below 0.01 in a displayed unit shows <0.01. Switching units changes only the display, not the saved measurement.
Offline use and unfinished edits¶
GPS capture, outlines, calculation, and local saving work without internet. Apple Maps imagery may be unavailable offline; downloaded offline maps are not included. Coordinate entry remains available without map imagery or location permission. Location requests stop when canceled, when the editor closes, or when the app leaves the foreground.
Pasture-details edits and boundary edits are automatically preserved in separate local drafts. Cancel in details, or Close on the map, keeps unfinished edits without changing confirmed data. Reopen Edit Details, Measure Area / Edit Boundary, or Add pasture as appropriate and choose Resume Draft or Discard Draft after an interruption or relaunch. Saving details never overwrites a boundary draft; Save Boundary never overwrites name/inventory edits. Discard Draft removes unfinished edits only. A Continue Unfinished Draft entry preserves recovery of older drafts from the former combined pasture/point editor. If draft storage fails, keep the editor open and retry; unsaved edits are not guaranteed to survive termination. No cloud sync or export is included.
Enter the current livestock count¶
Enter one optional whole-number Livestock Count while adding or editing a pasture, then save. Blank means Not Entered; 0 explicitly means there are no animals. The pasture detail screen shows the latest total and when that count was last updated. Changing only the boundary or name does not change the count's update time. Clearing the count and saving removes it and its update time.
This is a manual reference, not a livestock ledger. Previous values and animal-type breakdowns are not kept. Photo and movement-session results never update this number automatically. Net Movement remains a separate inbound-minus-outbound session total; it is not current inventory.
Choose detection settings¶
Open Settings → Counting options while counting is stopped. FlockFlow prepares the selected option before activation and remembers it for live/video sessions. Photos use a separate detector.
The Settings tab also offers these counting preferences:
- Fewer duplicates
- Recommended
- Crowded flocks
The selected preference stays on this iPhone and applies to the next count.
Permissions¶
Camera¶
Camera access is required only for taking photos or live counting. Choose Continue in camera setup to open the system permission prompt. If access is denied, use Open Settings to change it. Album images, selected videos, and the bundled example remain available without camera access.
Photos¶
The first import shows Choose from Photos? before Apple's picker. Continue remembers approval for photo and video imports across relaunches, even if you cancel the picker afterward. Cancel leaves current content unchanged and shows the explanation next time. This is an app explanation, not broad library authorization.
Apple's image/video-filtered picker shares only selected items. Cloud-only items may require download through Apple before counting. The bundled example needs no Photos access. FlockFlow requests add-only Photos permission only after Save to Photos.
Location¶
Location is optional. FlockFlow requests it only after Use My Location or Add GPS Point in the boundary map editor. Creating or editing pasture details never requests location. Requests are foreground-only. FlockFlow briefly collects fresh fixes to improve accuracy, then stops; requests also stop on cancellation, leaving the editor, or backgrounding. Map placement and coordinate entry remain available without location access.
Language¶
FlockFlow includes Arabic (العربية), Bengali (বাংলা), English, French (français), Hindi (हिन्दी), Indonesian (Bahasa Indonesia), Japanese (日本語), Kazakh (Қазақша), Mongolian, Portuguese (Brazil and Portugal), Russian (русский), Simplified Chinese, and Spanish (español). It follows the iPhone language by default. Choose Settings → Apps → FlockFlow → Language to override it. Translations and permission messages are bundled and do not require a network connection.
The new Arabic, Bengali, French, Hindi, Indonesian, Portuguese, Russian, and Spanish translations are machine-translated drafts awaiting native-speaker review. All languages, including Arabic, use the same left-to-right interface layout. Arabic text retains its normal script rendering; camera images, detection boxes, and physical counting directions are not mirrored for the language. Device layout validation is still pending.
Get help¶
See Support for troubleshooting and contact options. See Privacy for storage, deletion, and optional Apple services. Do not post private recordings, coordinates, model artifacts, credentials, or signing material in public issues.
Comments
Comments are public and powered by GitHub Discussions through Giscus.